chore: merge hoppscotch/main into hoppscotch/next
This commit is contained in:
commit
b2de105012
61 changed files with 240 additions and 314 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hoppscotch-backend",
|
||||
"version": "2025.5.2",
|
||||
"version": "2025.5.3",
|
||||
"description": "",
|
||||
"author": "",
|
||||
"private": true,
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Kon nie voorafversoekskrip uitvoer nie",
|
||||
"something_went_wrong": "Iets het verkeerd geloop",
|
||||
"test_script_fail": "Could not execute post-request script",
|
||||
"post_request_script_fail": "Could not execute post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Toetsskrifte word in JavaScript geskryf en word uitgevoer nadat die antwoord ontvang is.",
|
||||
"pre_request_script": "Skripte voor die versoek word in JavaScript geskryf en word uitgevoer voordat die versoek gestuur word.",
|
||||
"script_fail": "Dit blyk dat daar 'n fout in die voorversoekskrif is. Kontroleer die fout hieronder en maak die skrif dienooreenkomstig reg.",
|
||||
"test_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"tests": "Skryf 'n toetsskrif om ontfouting te outomatiseer."
|
||||
"post_request_script_fail": "There seems to be an error with post-request script. Please fix the errors and run tests again",
|
||||
"post_request_script": "Skryf 'n toetsskrif om ontfouting te outomatiseer."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "اسم الملف الشخصي المحدث هو نفسه اسم الملف الشخصي الحالي",
|
||||
"script_fail": "لم يتمكن من تنفيذ نص الطلب المسبق",
|
||||
"something_went_wrong": "حدث خطأ ما",
|
||||
"test_script_fail": "لم يتمكن من تنفيذ نص ما بعد الطلب",
|
||||
"post_request_script_fail": "لم يتمكن من تنفيذ نص ما بعد الطلب",
|
||||
"reading_files": "حدث خطأ أثناء قراءة واحد أو أكثر من الملفات.",
|
||||
"fetching_access_tokens_list": "حدث خطأ أثناء جلب قائمة الرموز",
|
||||
"generate_access_token": "حدث خطأ أثناء توليد رمز الوصول",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "يتم كتابة نصوص الاختبار بلغة JavaScript، ويتم تشغيلها بعد استلام الاستجابة.",
|
||||
"pre_request_script": "يتم كتابة نصوص ما قبل الطلب بلغة JavaScript، ويتم تشغيلها قبل إرسال الطلب.",
|
||||
"script_fail": "يبدو أن هناك خللاً في نص ما قبل الطلب. تحقق من الخطأ أدناه وقم بإصلاح النص وفقًا لذلك.",
|
||||
"test_script_fail": "يبدو أن هناك خطأ في نص الاختبار. يرجى إصلاح الأخطاء وإعادة تشغيل الاختبارات مرة أخرى",
|
||||
"tests": "اكتب نص اختبار لأتمتة التصحيح."
|
||||
"post_request_script_fail": "يبدو أن هناك خطأ في نص الاختبار. يرجى إصلاح الأخطاء وإعادة تشغيل الاختبارات مرة أخرى",
|
||||
"post_request_script": "اكتب نص اختبار لأتمتة التصحيح."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "طي لوحة المجموعة",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "No s'ha pogut executar l'script de sol·licitud prèvia",
|
||||
"something_went_wrong": "Alguna cosa ha anat malament",
|
||||
"test_script_fail": "No s'ha pogut executar l'script posterior a la sol·licitud",
|
||||
"post_request_script_fail": "No s'ha pogut executar l'script posterior a la sol·licitud",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Els scripts de prova s'escriuen en JavaScript i s'executen després de rebre la resposta.",
|
||||
"pre_request_script": "Els scripts de sol·licitud prèvia s'escriuen en JavaScript i s'executen abans que s'enviï la sol·licitud.",
|
||||
"script_fail": "Sembla que hi ha un error a l'script de sol·licitud prèvia. Comproveu l'error a continuació i solucioneu l'script en conseqüència.",
|
||||
"test_script_fail": "Sembla que hi ha un error amb l'script de prova. Corregiu els errors i torneu a fer proves.",
|
||||
"tests": "Escriviu un script de prova per automatitzar la depuració."
|
||||
"post_request_script_fail": "Sembla que hi ha un error amb l'script de sol·licitud posterior. Corregiu els errors i torneu a fer proves.",
|
||||
"post_request_script": "Escriviu un script de prova per automatitzar la depuració."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Redueix el tauler de col·lecció",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "更新后的配置文件名称与当前配置文件名称相同",
|
||||
"script_fail": "无法执行预请求脚本",
|
||||
"something_went_wrong": "发生了一些错误",
|
||||
"test_script_fail": "无法执行请求脚本",
|
||||
"post_request_script_fail": "无法执行请求脚本",
|
||||
"reading_files": "读取一个或多个文件时出错。",
|
||||
"fetching_access_tokens_list": "获取令牌列表时出错",
|
||||
"generate_access_token": "生成访问令牌时出错",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "测试脚本使用 JavaScript 编写,并在收到响应后执行。",
|
||||
"pre_request_script": "预请求脚本使用 JavaScript 编写,并在请求发送前执行。",
|
||||
"script_fail": "预请求脚本中似乎存在故障。 检查下面的错误并相应地修复脚本。",
|
||||
"test_script_fail": "测试脚本似乎有一个错误。请修复错误并再次运行测试",
|
||||
"tests": "编写测试脚本以自动调试。"
|
||||
"post_request_script_fail": "后请求脚本似乎有一个错误。请修复错误并再次运行测试",
|
||||
"post_request_script": "编写测试脚本以自动调试。"
|
||||
},
|
||||
"hide": {
|
||||
"collection": "隐藏集合",
|
||||
|
|
|
|||
|
|
@ -354,7 +354,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Skript předběžného požadavku nelze spustit",
|
||||
"something_went_wrong": "Něco se pokazilo",
|
||||
"test_script_fail": "Could not execute post-request script",
|
||||
"post_request_script_fail": "Could not execute post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -417,8 +417,8 @@
|
|||
"post_request_tests": "Testovací skripty jsou napsány v JavaScriptu a jsou spuštěny po přijetí odpovědi.",
|
||||
"pre_request_script": "Skripty před požadavkem jsou napsány v JavaScriptu a jsou spuštěny před odesláním požadavku.",
|
||||
"script_fail": "Zdá se, že ve skriptu předběžného požadavku je chyba. Zkontrolujte níže uvedenou chybu a opravte skript odpovídajícím způsobem.",
|
||||
"test_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"tests": "Napište testovací skript pro automatizaci ladění."
|
||||
"post_request_script_fail": "There seems to be an error with post-request script. Please fix the errors and run tests again",
|
||||
"post_request_script": "Napište testovací skript pro automatizaci ladění."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
|
|||
|
|
@ -351,7 +351,7 @@
|
|||
"same_profile_name": "Opdateret profilnavn er det samme som det nuværende profilnavn",
|
||||
"script_fail": "Kunne ikke udføre pre-request script",
|
||||
"something_went_wrong": "Noget gik galt",
|
||||
"test_script_fail": "Kunne ikke udføre post-request script",
|
||||
"post_request_script_fail": "Kunne ikke udføre post-request script",
|
||||
"reading_files": "Fejl under læsning af en eller flere filer.",
|
||||
"fetching_access_tokens_list": "Noget gik galt under hentning af listen over tokens",
|
||||
"generate_access_token": "Noget gik galt under generering af adgangstoken",
|
||||
|
|
@ -413,8 +413,8 @@
|
|||
"post_request_tests": "Testscripts er skrevet i JavaScript og køres efter svaret er modtaget.",
|
||||
"pre_request_script": "Pre-request scripts er skrevet i JavaScript og køres før anmodningen sendes.",
|
||||
"script_fail": "Det ser ud til, at der er en fejl i pre-request scriptet. Tjek fejlen nedenfor og ret scriptet i overensstemmelse hermed.",
|
||||
"test_script_fail": "Der ser ud til at være en fejl med testscriptet. Ret venligst fejlene og kør tests igen",
|
||||
"tests": "Skriv et testscript for at automatisere fejlfinding."
|
||||
"post_request_script_fail": "Der ser ud til at være en fejl med post-request scriptet. Ret venligst fejlene og kør tests igen",
|
||||
"post_request_script": "Skriv et testscript for at automatisere fejlfinding."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Skjul samlingspanel",
|
||||
|
|
|
|||
|
|
@ -440,7 +440,7 @@
|
|||
"same_profile_name": "Der aktualisierte Profilname ist identisch mit dem aktuellen Profilnamen",
|
||||
"script_fail": "Pre-Request-Skripte konnte nicht ausgeführt werden",
|
||||
"something_went_wrong": "Etwas ist schief gelaufen",
|
||||
"test_script_fail": "Testskripts konnten nicht ausgeführt werden",
|
||||
"post_request_script_fail": "Testskripts konnten nicht ausgeführt werden",
|
||||
"reading_files": "Fehler beim Lesen einer oder mehrerer Dateien.",
|
||||
"fetching_access_tokens_list": "Beim Abrufen der Liste der Tokens ist etwas schiefgegangen.",
|
||||
"generate_access_token": "Beim Generieren des Zugriffstokens ist etwas schiefgegangen.",
|
||||
|
|
@ -510,8 +510,8 @@
|
|||
"post_request_tests": "Testskripts werden in JavaScript geschrieben und nach Erhalt der Antwort ausgeführt.",
|
||||
"pre_request_script": "Pre-Request-Skripte sind in JavaScript geschrieben und werden ausgeführt, bevor die Anfrage gesendet wird.",
|
||||
"script_fail": "Es scheint ein Fehler im Pre-Request-Skript zu sein. Überprüfe den Fehler unten und korrigiere das Skript entsprechend.",
|
||||
"test_script_fail": "Es scheint ein Fehler im Testskript zu sein. Überprüfe den Fehler unten und korrigiere das Skript entsprechend.",
|
||||
"tests": "Schreibe ein Testskript, um das Debuggen zu automatisieren."
|
||||
"post_request_script_fail": "Es scheint ein Fehler im Post-Request-Skript zu sein. Überprüfe den Fehler unten und korrigiere das Skript entsprechend.",
|
||||
"post_request_script": "Schreibe ein Testskript, um das Debuggen zu automatisieren."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Sammlungsbereich einklappen",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Δεν ήταν δυνατή η εκτέλεση του σεναρίου πριν από το αίτημα",
|
||||
"something_went_wrong": "Κάτι πήγε στραβά",
|
||||
"test_script_fail": "Δεν μπορεσε να εκτελεστεί το post-request script",
|
||||
"post_request_script_fail": "Δεν μπορεσε να εκτελεστεί το post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Τα σενάρια δοκιμής γράφονται σε JavaScript και εκτελούνται μετά τη λήψη της απάντησης.",
|
||||
"pre_request_script": "Τα σενάρια προ-αίτησης είναι γραμμένα σε JavaScript και εκτελούνται πριν από την αποστολή του αιτήματος.",
|
||||
"script_fail": "Φαίνεται ότι υπάρχει ένα σφάλμα στο σενάριο πριν από το αίτημα. Ελέγξτε το παρακάτω σφάλμα και διορθώστε το σενάριο ανάλογα.",
|
||||
"test_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"tests": "Γράψτε ένα δοκιμαστικό σενάριο για να αυτοματοποιήσετε τον εντοπισμό σφαλμάτων."
|
||||
"post_request_script_fail": "There seems to be an error with post-request script. Please fix the errors and run tests again",
|
||||
"post_request_script": "Γράψτε ένα δοκιμαστικό σενάριο για να αυτοματοποιήσετε τον εντοπισμό σφαλμάτων."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Σύμπτυξη Panel Συλλογών",
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@
|
|||
"options": "Options",
|
||||
"proxy_privacy_policy": "Proxy privacy policy",
|
||||
"reload": "Reload",
|
||||
"search": "Search",
|
||||
"search": "Search and commands",
|
||||
"share": "Share",
|
||||
"shortcuts": "Shortcuts",
|
||||
"social_description": "Follow us on social media to stay updated with the latest news, updates and releases.",
|
||||
|
|
@ -522,7 +522,7 @@
|
|||
"script_fail": "Could not execute pre-request script",
|
||||
"something_went_wrong": "Something went wrong",
|
||||
"subscription_error": "Failed to subscribe to the topic: {error}",
|
||||
"test_script_fail": "Could not execute post-request script",
|
||||
"post_request_script_fail": "Could not execute post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -599,11 +599,11 @@
|
|||
"network_fail": "Unable to reach the API endpoint. Check your network connection or select a different Interceptor and try again.",
|
||||
"offline": "You're using Hoppscotch offline. Updates will sync when you're online, based on workspace settings.",
|
||||
"offline_short": "You're using Hoppscotch offline.",
|
||||
"post_request_tests": "Test scripts are written in JavaScript, and are run after the response is received.",
|
||||
"post_request_tests": "Post-request scripts are written in JavaScript, and are run after the response is received.",
|
||||
"pre_request_script": "Pre-request scripts are written in JavaScript, and are run before the request is sent.",
|
||||
"script_fail": "It seems there is a glitch in the pre-request script. Check the error below and fix the script accordingly.",
|
||||
"test_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"tests": "Write a test script to automate debugging."
|
||||
"post_request_script_fail": "There seems to be an error with post-request script. Please fix the errors and run tests again",
|
||||
"post_request_script": "Write a post-request script to automate debugging."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
@ -662,7 +662,7 @@
|
|||
"import_summary_requests_title": "Requests",
|
||||
"import_summary_responses_title": "Responses",
|
||||
"import_summary_pre_request_scripts_title": "Pre-request scripts",
|
||||
"import_summary_test_scripts_title": "Test scripts",
|
||||
"import_summary_post_request_scripts_title": "Post request scripts",
|
||||
"import_summary_not_supported_by_hoppscotch_import": "We do not support importing {featureLabel} from this source right now."
|
||||
},
|
||||
"instances": {
|
||||
|
|
@ -1396,6 +1396,7 @@
|
|||
"history": "History",
|
||||
"mqtt": "MQTT",
|
||||
"parameters": "Parameters",
|
||||
"post_request_script": "Post-request Script",
|
||||
"pre_request_script": "Pre-request Script",
|
||||
"queries": "Queries",
|
||||
"query": "Query",
|
||||
|
|
@ -1406,7 +1407,6 @@
|
|||
"share_tab_request": "Share tab request",
|
||||
"socketio": "Socket.IO",
|
||||
"sse": "SSE",
|
||||
"tests": "Tests",
|
||||
"types": "Types",
|
||||
"variables": "Variables",
|
||||
"websocket": "WebSocket",
|
||||
|
|
@ -1589,8 +1589,8 @@
|
|||
"feedback_cta_request_name": "Did you like the generated name?",
|
||||
"modify_request_body_error": "Failed to modify request body",
|
||||
"generate_or_modify_prerequest_input_placeholder": "Enter a prompt to generate or modify the pre-request script",
|
||||
"generate_or_modify_test_script_input_placeholder": "Enter a prompt to generate or modify the test script",
|
||||
"modify_test_script_error": "Failed to modify test script",
|
||||
"generate_or_modify_post_request_script_input_placeholder": "Enter a prompt to generate or modify the post-request script",
|
||||
"modify_post_request_script_error": "Failed to modify post-request script",
|
||||
"modify_prerequest_error": "Failed to modify pre-request script"
|
||||
},
|
||||
"configs": {
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "El nombre del perfil actualizado es el mismo que el nombre del perfil actual",
|
||||
"script_fail": "No se pudo ejecutar el script de solicitud previa",
|
||||
"something_went_wrong": "Algo salió mal",
|
||||
"test_script_fail": "No se ha podido ejecutar la secuencia de comandos posterior a la solicitud",
|
||||
"post_request_script_fail": "No se ha podido ejecutar la secuencia de comandos posterior a la solicitud",
|
||||
"reading_files": "Error al leer uno o más archivos.",
|
||||
"fetching_access_tokens_list": "Algo ha ido mal al obtener la lista de tokens",
|
||||
"generate_access_token": "Algo ha ido mal al generar el token de acceso",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Los scripts de prueba están escritos en JavaScript y se ejecutan después de recibir la respuesta.",
|
||||
"pre_request_script": "Los scripts previos a la solicitud están escritos en JavaScript y se ejecutan antes de que se envíe la solicitud.",
|
||||
"script_fail": "Parece que hay un problema técnico en el script de solicitud previa. Comprueba el error a continuación y corrige el script en consecuencia.",
|
||||
"test_script_fail": "Parece que hay un error con el script de prueba. Por favor, corrige los errores y ejecute las pruebas de nuevo",
|
||||
"tests": "Escribir un script de prueba para automatizar la depuración."
|
||||
"post_request_script_fail": "Parece que hay un error con el script posterior a la solicitud. Por favor, corrige los errores y vuelve a ejecutar el script.",
|
||||
"post_request_script": "Escribir un script de prueba para automatizar la depuración."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Colapsar el panel de colecciones",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Ennakkopyyntöskriptiä ei voitu suorittaa",
|
||||
"something_went_wrong": "Jotain meni pieleen",
|
||||
"test_script_fail": "Could not execute post-request script",
|
||||
"post_request_script_fail": "Could not execute post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Testikomentosarjat kirjoitetaan JavaScriptillä ja ne suoritetaan vastauksen vastaanottamisen jälkeen.",
|
||||
"pre_request_script": "Pyyntöä edeltävät komentosarjat kirjoitetaan JavaScriptillä ja ne suoritetaan ennen pyynnön lähettämistä.",
|
||||
"script_fail": "Vaikuttaa siltä, että ennakkopyyntöskriptissä on virhe. Tarkista alla oleva virhe ja korjaa komentosarja sen mukaisesti.",
|
||||
"test_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"tests": "Kirjoita testikomentosarja virheenkorjauksen automatisoimiseksi."
|
||||
"post_request_script_fail": "There seems to be an error with post-request script. Please fix the errors and run tests again",
|
||||
"post_request_script": "Kirjoita testikomentosarja virheenkorjauksen automatisoimiseksi."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Impossible d'exécuter le script de pré-requête",
|
||||
"something_went_wrong": "Quelque chose s'est mal passé",
|
||||
"test_script_fail": "Impossible d'exécuter le script post-requête",
|
||||
"post_request_script_fail": "Impossible d'exécuter le script post-requête",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Les scripts de test sont écrits en JavaScript et sont exécutés après réception de la réponse.",
|
||||
"pre_request_script": "Les scripts de pré-requête sont écrits en JavaScript et sont exécutés avant l'envoi de la requête.",
|
||||
"script_fail": "Il semble qu'il y ait un problème dans le script de pré-requête. Vérifiez l'erreur ci-dessous et corrigez le script en conséquence.",
|
||||
"test_script_fail": "Il semble y avoir une erreur avec le script de test. Veuillez corriger les erreurs et recommencer les tests",
|
||||
"tests": "Ecrivez un script de test pour automatiser le débogage."
|
||||
"post_request_script_fail": "Il semble y avoir une erreur avec le script de post-requête. Veuillez corriger les erreurs et recommencer les tests",
|
||||
"post_request_script": "Ecrivez un script de test pour automatiser le débogage."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "לא ניתן להפעיל סקריפט של בקשה מראש",
|
||||
"something_went_wrong": "משהו השתבש",
|
||||
"test_script_fail": "Could not execute post-request script",
|
||||
"post_request_script_fail": "Could not execute post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "סקריפטים לבדיקה נכתבים ב- JavaScript ומופעלים לאחר קבלת התגובה.",
|
||||
"pre_request_script": "סקריפטים לבקשה מראש נכתבים ב- JavaScript ומופעלים לפני שליחת הבקשה.",
|
||||
"script_fail": "נראה שיש תקלה בסקריפט שלפני הבקשה. בדוק את השגיאה למטה ותקן את הסקריפט בהתאם.",
|
||||
"test_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"tests": "כתוב סקריפט בדיקה כדי לבצע ניפוי באגים באופן אוטומטי."
|
||||
"post_request_script_fail": "There seems to be an error with post-request script. Please fix the errors and run tests again",
|
||||
"post_request_script": "כתוב סקריפט בדיקה כדי לבצע ניפוי באגים באופן אוטומטי."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Nem sikerült végrehajtani a kérés előtti parancsfájlt",
|
||||
"something_went_wrong": "Valami elromlott",
|
||||
"test_script_fail": "Nem sikerült végrehajtani a kérés utáni parancsfájlt",
|
||||
"post_request_script_fail": "Nem sikerült végrehajtani a kérés utáni parancsfájlt",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "A tesztparancsfájlokat JavaScriptben írták, és a válasz megérkezése után lesznek futtatva.",
|
||||
"pre_request_script": "A kérés előtti parancsfájlokat JavaScriptben írták, és a kérés elküldése előtt lesznek futtatva.",
|
||||
"script_fail": "Úgy tűnik, hogy működési hiba van a kérés előtti parancsfájlban. Nézze meg az alábbi hibát, és annak megfelelően javítsa a parancsfájlt.",
|
||||
"test_script_fail": "Úgy tűnik, hogy hiba van a tesztparancsfájlokkal. Javítsa ki a hibákat, és futtassa újra a teszteket.",
|
||||
"tests": "Írjon tesztparancsfájlt a hibakeresés automatizálására."
|
||||
"post_request_script_fail": "Úgy tűnik, hogy hiba van az utólagos kérés parancsfájlokkal. Javítsa ki a hibákat, és futtassa újra a teszteket.",
|
||||
"post_request_script": "Írjon tesztparancsfájlt a hibakeresés automatizálására."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Gyűjteménypanel összecsukása",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Tidak dapat menjalankan pre-request script",
|
||||
"something_went_wrong": "Ada yang salah",
|
||||
"test_script_fail": "Tidak dapat mengeksekusi post-request script",
|
||||
"post_request_script_fail": "Tidak dapat mengeksekusi post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Pengujian scripts ditulis dalam JavaScript, dan dijalankan setelah respons diterima.",
|
||||
"pre_request_script": "Pre-request scripts ditulis dalam JavaScript, dan dijalankan sebelum request dikirim.",
|
||||
"script_fail": "Sepertinya ada kesalahan dalam pre-request script. Periksa kesalahan di bawah ini dan perbaiki script yang sesuai.",
|
||||
"test_script_fail": "Tampaknya ada kesalahan dengan test script. Harap perbaiki kesalahan dan jalankan tes lagi",
|
||||
"tests": "Tulis test script untuk mengotomatiskan debugging."
|
||||
"post_request_script_fail": "Tampaknya ada kesalahan dengan post-request script. Harap perbaiki kesalahan dan jalankan tes lagi",
|
||||
"post_request_script": "Tulis test script untuk mengotomatiskan debugging."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Ciutkan Panel Koleksi",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Impossibile eseguire lo script di pre-richiesta",
|
||||
"something_went_wrong": "Qualcosa è andato storto",
|
||||
"test_script_fail": "Could not execute post-request script",
|
||||
"post_request_script_fail": "Could not execute post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Gli script di test sono scritti in JavaScript e vengono eseguiti dopo aver ricevuto la risposta.",
|
||||
"pre_request_script": "Gli script di pre-richiesta sono scritti in JavaScript e vengono eseguiti prima dell'invio della richiesta.",
|
||||
"script_fail": "Sembra che ci sia un errore nello script di pre-richiesta. Controllare l'errore di seguito e correggere lo script di conseguenza.",
|
||||
"test_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"tests": "Scrivi uno script di test per automatizzare il debug."
|
||||
"post_request_script_fail": "There seems to be an error with post-request script. Please fix the errors and run tests again",
|
||||
"post_request_script": "Scrivi uno script di test per automatizzare il debug."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "リクエスト前のスクリプトを実行できませんでした",
|
||||
"something_went_wrong": "不明なエラーです",
|
||||
"test_script_fail": "リクエスト後のスクリプトを実行できませんでした",
|
||||
"post_request_script_fail": "リクエスト後のスクリプトを実行できませんでした",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "テストスクリプトはJavaScriptで記述されており、レスポンスを受信した後に実行されます。",
|
||||
"pre_request_script": "プリリクエストスクリプトはJavaScriptで記述されており、リクエストが送信される前に実行されます。",
|
||||
"script_fail": "プリリクエストスクリプトに問題があるようです。以下のエラーを確認し、スクリプトを修正してください。",
|
||||
"test_script_fail": "テストスクリプトにエラーがあるようです。エラーを修正し、再度テストを実行してください。",
|
||||
"tests": "デバッグを自動化するテストスクリプトを作成します。"
|
||||
"post_request_script_fail": "テストスクリプトにエラーがあるようです。エラーを修正し、再度テストを実行してください。",
|
||||
"post_request_script": "デバッグを自動化するテストスクリプトを作成します。"
|
||||
},
|
||||
"hide": {
|
||||
"collection": "コレクションパネルを非表示",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "사전 요청 스크립트를 실행할 수 없습니다.",
|
||||
"something_went_wrong": "문제가 발생했습니다.",
|
||||
"test_script_fail": "테스트 스크립트를 실행할 수 없습니다.",
|
||||
"post_request_script_fail": "테스트 스크립트를 실행할 수 없습니다.",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "테스트 스크립트는 JavaScript로 작성되며 응답을 받은 후 실행됩니다.",
|
||||
"pre_request_script": "사전 요청 스크립트는 JavaScript로 작성되며 요청이 전송되기 전에 실행됩니다.",
|
||||
"script_fail": "사전 요청 스크립트에 결함이 있는 것 같습니다. 아래 오류를 확인하고 스크립트를 수정하세요.",
|
||||
"test_script_fail": "테스트 스크립트에 결함이 있는 것 같습니다. 오류를 수정하고 테스트를 다시 실행하세요.",
|
||||
"tests": "디버깅을 자동화하는 테스트 스크립트를 작성하세요."
|
||||
"post_request_script_fail": "테스트 스크립트에 결함이 있는 것 같습니다. 오류를 수정하고 테스트를 다시 실행하세요.",
|
||||
"post_request_script": "디버깅을 자동화하는 테스트 스크립트를 작성하세요."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Kon pre-aanvraagscript niet uitvoeren",
|
||||
"something_went_wrong": "Er is iets fout gegaan",
|
||||
"test_script_fail": "Could not execute post-request script",
|
||||
"post_request_script_fail": "Could not execute post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Testscripts zijn geschreven in JavaScript en worden uitgevoerd nadat het antwoord is ontvangen.",
|
||||
"pre_request_script": "Pre-request scripts zijn geschreven in JavaScript en worden uitgevoerd voordat het verzoek wordt verzonden.",
|
||||
"script_fail": "Het lijkt erop dat er een storing is in het pre-request script. Controleer de onderstaande fout en corrigeer het script dienovereenkomstig.",
|
||||
"test_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"tests": "Schrijf een testscript om foutopsporing te automatiseren."
|
||||
"post_request_script_fail": "Er lijkt een fout te zijn in het test script. Corrigeer de fouten en voer de tests opnieuw uit.",
|
||||
"post_request_script": "Schrijf een testscript om foutopsporing te automatiseren."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Kunne ikke kjøre forhåndsforespørselsskript",
|
||||
"something_went_wrong": "Noe gikk galt",
|
||||
"test_script_fail": "Could not execute post-request script",
|
||||
"post_request_script_fail": "Could not execute post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Testskript er skrevet i JavaScript og kjøres etter at svaret er mottatt.",
|
||||
"pre_request_script": "Skript for forespørsel er skrevet i JavaScript og kjøres før forespørselen sendes.",
|
||||
"script_fail": "Det ser ut til at det er en feil i forhåndsforespørselsskriptet. Sjekk feilen nedenfor og fiks skriptet deretter.",
|
||||
"test_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"tests": "Skriv et testskript for å automatisere feilsøking."
|
||||
"post_request_script_fail": "Det ser ut til å være en feil med skriptet etter forespørselen. Vennligst rett opp feilene og kjør skriptene på nytt.",
|
||||
"post_request_script": "Skriv et post-request skript for å automatisere feilsøking."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Nie można wykonać skryptu żądania wstępnego",
|
||||
"something_went_wrong": "Coś poszło nie tak",
|
||||
"test_script_fail": "Could not execute post-request script",
|
||||
"post_request_script_fail": "Could not execute post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Skrypty testowe są pisane w języku JavaScript i są uruchamiane po otrzymaniu odpowiedzi.",
|
||||
"pre_request_script": "Skrypty żądań wstępnych są napisane w języku JavaScript i są uruchamiane przed wysłaniem żądania.",
|
||||
"script_fail": "Wygląda na to, że w skrypcie żądania wstępnego jest usterka. Sprawdź poniższy błąd i odpowiednio napraw skrypt.",
|
||||
"test_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"tests": "Napisz skrypt testowy, aby zautomatyzować debugowanie."
|
||||
"post_request_script_fail": "There seems to be an error with post-request script. Please fix the errors and run tests again",
|
||||
"post_request_script": "Napisz skrypt testowy, aby zautomatyzować debugowanie."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
|
|||
|
|
@ -421,7 +421,7 @@
|
|||
"same_profile_name": "O nome do perfil atualizado é igual ao atual",
|
||||
"script_fail": "Não foi possível executar o script pré-requisição",
|
||||
"something_went_wrong": "Algo deu errado",
|
||||
"test_script_fail": "Não foi possível executar o script pós-requisição",
|
||||
"post_request_script_fail": "Não foi possível executar o script pós-requisição",
|
||||
"reading_files": "Erro na leitura de um ou mais arquivos.",
|
||||
"fetching_access_tokens_list": "Algo deu errado ao buscar a lista de tokens",
|
||||
"generate_access_token": "Algo deu errado ao gerar o token de acesso",
|
||||
|
|
@ -493,8 +493,8 @@
|
|||
"post_request_tests": "Os scripts de teste são gravados em JavaScript e executados após o recebimento da resposta.",
|
||||
"pre_request_script": "Os scripts de pré-requisição são gravados em JavaScript e executados antes do envio da requisição.",
|
||||
"script_fail": "Parece que há uma falha no script de pré-requisição. Verifique o erro abaixo e corrija o script de acordo.",
|
||||
"test_script_fail": "Parece haver um erro com o script de teste. Corrija os erros e execute os testes novamente",
|
||||
"tests": "Escreva um script de teste para automatizar a depuração."
|
||||
"post_request_script_fail": "Parece haver um erro com o script de teste. Corrija os erros e execute os testes novamente",
|
||||
"post_request_script": "Escreva um script de teste para automatizar a depuração."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Encolher Painel de Coleções",
|
||||
|
|
@ -552,7 +552,7 @@
|
|||
"import_summary_requests_title": "Requisições",
|
||||
"import_summary_responses_title": "Respostas",
|
||||
"import_summary_pre_request_scripts_title": "Scripts de Pré-Requisição",
|
||||
"import_summary_test_scripts_title": "Scripts de teste",
|
||||
"import_summary_post_request_scripts_title": "Scripts pós-requisição",
|
||||
"import_summary_not_supported_by_hoppscotch_import": "No momento, não suportamos a importação de {featureLabel} deste tipo de fonte."
|
||||
},
|
||||
"inspections": {
|
||||
|
|
@ -1262,8 +1262,8 @@
|
|||
"feedback_cta_request_name": "Você gostou do nome gerado?",
|
||||
"modify_request_body_error": "Falha ao modificar o corpo da requisição",
|
||||
"generate_or_modify_prerequest_input_placeholder": "Insira um prompt para gerar ou modificar o script de pré-requisição",
|
||||
"generate_or_modify_test_script_input_placeholder": "Insira um prompt para gerar ou modificar o script de teste",
|
||||
"modify_test_script_error": "Falha ao modificar o script de teste",
|
||||
"generate_or_modify_post_request_script_input_placeholder": "Insira um prompt para gerar ou modificar o script de teste",
|
||||
"modify_post_request_script_error": "Falha ao modificar o script de teste",
|
||||
"modify_prerequest_error": "Falha ao modificar o script de pré-requisição"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Não foi possível executar o script de pré-solicitação",
|
||||
"something_went_wrong": "Algo deu errado",
|
||||
"test_script_fail": "Could not execute post-request script",
|
||||
"post_request_script_fail": "Could not execute post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Os scripts de teste são gravados em JavaScript e executados após o recebimento da resposta.",
|
||||
"pre_request_script": "Os scripts de pré-solicitação são gravados em JavaScript e executados antes do envio da solicitação.",
|
||||
"script_fail": "Parece que há uma falha no script de pré-solicitação. Verifique o erro abaixo e corrija o script de acordo.",
|
||||
"test_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"tests": "Escreva um script de teste para automatizar a depuração."
|
||||
"post_request_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"post_request_script": "Escreva um script de teste para automatizar a depuração."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Nu s-a putut executa scriptul",
|
||||
"something_went_wrong": "Ceva nu a mers bine",
|
||||
"test_script_fail": "Nu s-a putut executa scriptul",
|
||||
"post_request_script_fail": "Nu s-a putut executa scriptul",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Scripturile de testare sunt scrise în JavaScript și se execută după primirea răspunsului.",
|
||||
"pre_request_script": "Scripturile de cerere prealabilă sunt scrise în JavaScript și sunt rulate înainte de trimiterea cererii.",
|
||||
"script_fail": "Se pare că există o eroare în script. Verificați eroarea de mai jos și remediați scriptul în consecință.",
|
||||
"test_script_fail": "Se pare că există o eroare în script-ul de test. Verificați eroarea de mai jos și remediați scriptul în consecință.",
|
||||
"tests": "Scrieți un script de test pentru automatizarea depanării."
|
||||
"post_request_script_fail": "Se pare că există o eroare în script-ul de test. Verificați eroarea de mai jos și remediați scriptul în consecință.",
|
||||
"post_request_script": "Scrieți un script de test pentru automatizarea depanării."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Restrângeți panoul de colecții",
|
||||
|
|
|
|||
|
|
@ -350,7 +350,7 @@
|
|||
"same_profile_name": "Задано имя пользователя такое же как и было",
|
||||
"script_fail": "Не удалось выполнить сценарий предварительного запроса",
|
||||
"something_went_wrong": "Что-то пошло не так",
|
||||
"test_script_fail": "Не удалось выполнить тестирование запроса",
|
||||
"post_request_script_fail": "Не удалось выполнить тестирование запроса",
|
||||
"reading_files": "Произошла ошибка при чтении файла или нескольких файлов",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Что-то пошло не так в процессе генерации токена доступа",
|
||||
|
|
@ -412,8 +412,8 @@
|
|||
"post_request_tests": "Сценарии тестирования написаны на JavaScript и запускаются после получения ответа",
|
||||
"pre_request_script": "Скрипты предварительного запроса написаны на JavaScript и запускаются перед отправкой запроса",
|
||||
"script_fail": "Похоже, в скрипте предварительного запроса есть сбой. Проверьте ошибку ниже и исправьте скрипт соответствующим образом",
|
||||
"test_script_fail": "Похоже, что скрипт тестирования содержит ошибку. Пожалуйста исправьте её и попробуйте снова",
|
||||
"tests": "Напишите тестовый сценарий для автоматизации отладки."
|
||||
"post_request_script_fail": "Похоже, что скрипт тестирования содержит ошибку. Пожалуйста исправьте её и попробуйте снова",
|
||||
"post_request_script": "Напишите тестовый сценарий для автоматизации отладки."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Свернуть панель соединения",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Није могуће извршити скрипту пре захтева",
|
||||
"something_went_wrong": "Нешто није у реду",
|
||||
"test_script_fail": "Could not execute post-request script",
|
||||
"post_request_script_fail": "Could not execute post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Тест скрипте су написане у ЈаваСцрипт -у и покрећу се након пријема одговора.",
|
||||
"pre_request_script": "Скрипте пред-захтева су написане у ЈаваСцрипт-у и покрећу се пре слања захтева.",
|
||||
"script_fail": "Чини се да постоји грешка у скрипти пре захтева. Проверите грешку у наставку и поправите скрипту у складу са тим.",
|
||||
"test_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"tests": "Напишите тест скрипту за аутоматизацију отклањања грешака."
|
||||
"post_request_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"post_request_script": "Напишите тест скрипту за аутоматизацију отклањања грешака."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Det gick inte att köra skriptet för förhandsbegäran",
|
||||
"something_went_wrong": "Något gick fel",
|
||||
"test_script_fail": "Could not execute post-request script",
|
||||
"post_request_script_fail": "Could not execute post-request script",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Testskript skrivs i JavaScript och körs efter att svaret har mottagits.",
|
||||
"pre_request_script": "Skript för förfrågan skrivs i JavaScript och körs innan begäran skickas.",
|
||||
"script_fail": "Det verkar finnas ett fel i skriptet för förhandsbegäran. Kontrollera felet nedan och fixa skriptet därefter.",
|
||||
"test_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"tests": "Skriv ett testskript för att automatisera felsökning."
|
||||
"post_request_script_fail": "There seems to be an error with test script. Please fix the errors and run tests again",
|
||||
"post_request_script": "Skriv ett testskript för att automatisera felsökning."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Collapse Collection Panel",
|
||||
|
|
|
|||
|
|
@ -350,7 +350,7 @@
|
|||
"same_profile_name": "Güncellenen profil adı mevcut profil adıyla aynı",
|
||||
"script_fail": "Ön istek komut dosyası çalıştırılamadı",
|
||||
"something_went_wrong": "Bir şeyler yanlış gitti",
|
||||
"test_script_fail": "Sonraki istek komut dosyası çalıştırılamadı",
|
||||
"post_request_script_fail": "Sonraki istek komut dosyası çalıştırılamadı",
|
||||
"reading_files": "Bir veya daha fazla dosya okunurken hata oluştu.",
|
||||
"fetching_access_tokens_list": "Anahtar listesi alınırken bir sorun oluştu.",
|
||||
"generate_access_token": "Erişim anahtarı oluşturulurken bir sorun oluştu.",
|
||||
|
|
@ -412,8 +412,8 @@
|
|||
"post_request_tests": "Test komut dosyaları JavaScript'te yazılır ve yanıt alındıktan sonra çalıştırılır.",
|
||||
"pre_request_script": "Ön istek komut dosyaları JavaScript'te yazılır ve istek gönderilmeden önce çalıştırılır.",
|
||||
"script_fail": "Ön istek komut dosyasında bir aksaklık var gibi görünüyor. Aşağıdaki hatayı kontrol edin ve komut dosyasını buna göre düzeltin.",
|
||||
"test_script_fail": "Test komutunda bir hata var gibi görünüyor. Lütfen hataları düzeltin ve testleri tekrar çalıştırın",
|
||||
"tests": "Hata ayıklamayı otomatikleştirmek için bir test komut dosyası yazın."
|
||||
"post_request_script_fail": "Test komutunda bir hata var gibi görünüyor. Lütfen hataları düzeltin ve testleri tekrar çalıştırın",
|
||||
"post_request_script": "Hata ayıklamayı otomatikleştirmek için bir test komut dosyası yazın."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Koleksiyon Panelini Daralt",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "無法執行預請求指令碼",
|
||||
"something_went_wrong": "發生了一些錯誤",
|
||||
"test_script_fail": "無法執行測試指令碼",
|
||||
"post_request_script_fail": "無法執行測試指令碼",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "測試指令碼使用 JavaScript 編寫,並在收到回應後執行。",
|
||||
"pre_request_script": "預請求指令碼使用 JavaScript 編寫,並在請求傳送前執行。",
|
||||
"script_fail": "預請求指令碼似乎有問題。請檢查下方的錯誤並進行相應修正。",
|
||||
"test_script_fail": "測試指令碼似乎有誤,請修復錯誤並重新執行測試。",
|
||||
"tests": "編寫測試指令碼以自動除錯。"
|
||||
"post_request_script_fail": "測試指令碼似乎有誤,請修復錯誤並重新執行測試。",
|
||||
"post_request_script": "編寫測試指令碼以自動除錯。"
|
||||
},
|
||||
"hide": {
|
||||
"collection": "隱藏集合面板",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Не вдалося виконати сценарій попереднього запиту",
|
||||
"something_went_wrong": "Щось пішло не так",
|
||||
"test_script_fail": "Не вдалося виконати скрипт після запиту",
|
||||
"post_request_script_fail": "Не вдалося виконати скрипт після запиту",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Тестові скрипти записуються на JavaScript і запускаються після отримання відповіді.",
|
||||
"pre_request_script": "Скрипти написані на JavaScript і запускаються перед надсиланням запиту.",
|
||||
"script_fail": "Схоже, є збій у скрипті. Перевірте помилку нижче та виправте відповідним чином сценарій.",
|
||||
"test_script_fail": "Здається виникла помилка з тестовим скриптом. Будь ласка, виправте помилки і спробуйте знову",
|
||||
"tests": "Напишіть тестовий скрипт для автоматизації налагодження."
|
||||
"post_request_script_fail": "Здається виникла помилка з тестовим скриптом. Будь ласка, виправте помилки і спробуйте знову",
|
||||
"post_request_script": "Напишіть тестовий скрипт для автоматизації налагодження."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Згорнути панель колекції",
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
"same_profile_name": "Updated profile name is same as the current profile name",
|
||||
"script_fail": "Không thể thực thi kịch bản trước request",
|
||||
"something_went_wrong": "Đã xảy ra lỗi",
|
||||
"test_script_fail": "Không thể thực thi kịch bản sau request",
|
||||
"post_request_script_fail": "Không thể thực thi kịch bản sau request",
|
||||
"reading_files": "Error while reading one or more files.",
|
||||
"fetching_access_tokens_list": "Something went wrong while fetching the list of tokens",
|
||||
"generate_access_token": "Something went wrong while generating the access token",
|
||||
|
|
@ -416,8 +416,8 @@
|
|||
"post_request_tests": "Kịch bản kiểm tra được viết bằng JavaScript và được chạy sau khi nhận phản hồi.",
|
||||
"pre_request_script": "Kịch bản trước request được viết bằng JavaScript và được chạy trước khi gửi request.",
|
||||
"script_fail": "Có vẻ như có lỗi trong kịch bản trước request. Kiểm tra lỗi bên dưới và sửa kịch bản tương ứng.",
|
||||
"test_script_fail": "Có vẻ như có lỗi trong kịch bản kiểm tra. Vui lòng sửa các lỗi và chạy lại kiểm tra",
|
||||
"tests": "Viết một kịch bản kiểm tra để tự động hóa việc gỡ lỗi."
|
||||
"post_request_script_fail": "Có vẻ như có lỗi trong kịch bản kiểm tra. Vui lòng sửa các lỗi và chạy lại kiểm tra",
|
||||
"post_request_script": "Viết một kịch bản kiểm tra để tự động hóa việc gỡ lỗi."
|
||||
},
|
||||
"hide": {
|
||||
"collection": "Thu gọn bảng điều khiển bộ sưu tập",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@hoppscotch/common",
|
||||
"private": true,
|
||||
"version": "2025.5.2",
|
||||
"version": "2025.5.3",
|
||||
"scripts": {
|
||||
"dev": "pnpm exec npm-run-all -p -l dev:*",
|
||||
"test": "vitest --run",
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
autocomplete="off"
|
||||
name="command"
|
||||
:placeholder="`${t(
|
||||
'ai_experiments.generate_or_modify_test_script_input_placeholder'
|
||||
'ai_experiments.generate_or_modify_post_request_script_input_placeholder'
|
||||
)}`"
|
||||
class="flex flex-1 bg-transparent px-6 text-base text-secondaryDark"
|
||||
@keypress="
|
||||
|
|
|
|||
|
|
@ -1,135 +1,24 @@
|
|||
<template>
|
||||
<div
|
||||
class="border-animation relative p-[1px] rounded flex-1 self-stretch overflow-hidden flex items-center justify-center"
|
||||
:class="{
|
||||
'before:top-1/2 before:left-1/2 before:-translate-x-1/2 before:-translate-y-1/2 before:aspect-square before:w-full before:absolute before:bg-':
|
||||
!HAS_OPENED_SPOTLIGHT,
|
||||
}"
|
||||
aria-hidden="true"
|
||||
<button
|
||||
class="relative flex flex-1 cursor-text items-center justify-between self-stretch rounded bg-primaryDark px-2 text-secondaryLight transition hover:border-dividerDark hover:bg-primaryLight hover:text-secondary focus-visible:border-dividerDark focus-visible:bg-primaryLight focus-visible:text-secondary overflow-hidden"
|
||||
@click="invokeAction('modals.search.toggle', undefined, 'mouseclick')"
|
||||
>
|
||||
<button
|
||||
class="relative flex flex-1 cursor-text items-center justify-between self-stretch rounded bg-primaryDark px-2 text-secondaryLight transition hover:border-dividerDark hover:bg-primaryLight hover:text-secondary focus-visible:border-dividerDark focus-visible:bg-primaryLight focus-visible:text-secondary overflow-hidden"
|
||||
@click="
|
||||
() => {
|
||||
invokeAction('modals.search.toggle', undefined, 'mouseclick')
|
||||
!HAS_OPENED_SPOTLIGHT && toggleSetting('HAS_OPENED_SPOTLIGHT')
|
||||
}
|
||||
"
|
||||
>
|
||||
<span class="inline-flex flex-1 items-center">
|
||||
<icon-lucide-search class="svg-icons mr-2" />
|
||||
<span v-if="!HAS_OPENED_SPOTLIGHT" class="flex flex-1">
|
||||
{{ t("spotlight.phrases.try") }}
|
||||
<TransitionGroup tag="div" name="list" class="ml-1 relative">
|
||||
<span
|
||||
v-for="(phrase, index) in phraseToShow"
|
||||
:key="phrase.text"
|
||||
:data-index="index"
|
||||
class="truncate"
|
||||
>
|
||||
"{{ t(phrase.text) }}"
|
||||
</span>
|
||||
</TransitionGroup>
|
||||
</span>
|
||||
<template v-else>
|
||||
{{ t("app.search") }}
|
||||
</template>
|
||||
</span>
|
||||
<span class="flex space-x-1">
|
||||
<kbd class="shortcut-key">{{ getPlatformSpecialKey() }}</kbd>
|
||||
<kbd class="shortcut-key">K</kbd>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<span class="inline-flex flex-1 items-center">
|
||||
<icon-lucide-search class="svg-icons mr-2" />
|
||||
|
||||
{{ t("app.search") }}
|
||||
</span>
|
||||
<span class="flex space-x-1">
|
||||
<kbd class="shortcut-key">{{ getPlatformSpecialKey() }}</kbd>
|
||||
<kbd class="shortcut-key">K</kbd>
|
||||
</span>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { watch, computed, ref } from "vue"
|
||||
import { useI18n } from "~/composables/i18n"
|
||||
import { useSetting } from "~/composables/settings"
|
||||
import { invokeAction } from "~/helpers/actions"
|
||||
import { getPlatformSpecialKey } from "~/helpers/platformutils"
|
||||
import { toggleSetting } from "~/newstore/settings"
|
||||
|
||||
const t = useI18n()
|
||||
|
||||
const HAS_OPENED_SPOTLIGHT = useSetting("HAS_OPENED_SPOTLIGHT")
|
||||
|
||||
const phrases = ref([
|
||||
{ text: "spotlight.phrases.import_collections", show: true },
|
||||
{ text: "spotlight.phrases.create_environment", show: false },
|
||||
{ text: "spotlight.phrases.create_workspace", show: false },
|
||||
{ text: "spotlight.phrases.share_request", show: false },
|
||||
])
|
||||
|
||||
let intervalId: ReturnType<typeof setTimeout> | null = null
|
||||
|
||||
//cycle through the phrases
|
||||
const showNextPhrase = () => {
|
||||
let i = 0
|
||||
intervalId = setInterval(() => {
|
||||
phrases.value[i].show = false
|
||||
i++
|
||||
if (i >= phrases.value.length) {
|
||||
i = 0
|
||||
}
|
||||
phrases.value[i].show = true
|
||||
}, 3000)
|
||||
}
|
||||
|
||||
const stopPhraseInterval = () => {
|
||||
if (intervalId) clearInterval(intervalId)
|
||||
}
|
||||
|
||||
const phraseToShow = computed(() => {
|
||||
return phrases.value.filter((phrase) => phrase.show)
|
||||
})
|
||||
|
||||
watch(
|
||||
HAS_OPENED_SPOTLIGHT,
|
||||
() => {
|
||||
!HAS_OPENED_SPOTLIGHT.value ? showNextPhrase() : stopPhraseInterval()
|
||||
},
|
||||
{
|
||||
immediate: true,
|
||||
}
|
||||
)
|
||||
</script>
|
||||
|
||||
<style>
|
||||
/* Transition Classes */
|
||||
.list-enter-active {
|
||||
transition: all 1s ease;
|
||||
}
|
||||
.list-leave-active {
|
||||
transition: all 0.4s ease;
|
||||
}
|
||||
.list-enter-from,
|
||||
.list-leave-to {
|
||||
opacity: 0;
|
||||
transform: translateY(-30px);
|
||||
}
|
||||
.list-leave-active {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
/* Conic gradient */
|
||||
.border-animation::before {
|
||||
background: conic-gradient(
|
||||
transparent 270deg,
|
||||
var(--accent-color),
|
||||
transparent
|
||||
);
|
||||
animation: rotate 4s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes rotate {
|
||||
from {
|
||||
transform: translate(-50%, -50%) scale(1.4) rotate(0turn);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translate(-50%, -50%) scale(1.4) rotate(1turn);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ const toast = useToast()
|
|||
const props = withDefaults(
|
||||
defineProps<{
|
||||
show: boolean
|
||||
loadingState: boolean
|
||||
loadingState?: boolean
|
||||
editingProperties: EditingProperties
|
||||
source: "REST" | "GraphQL"
|
||||
modelValue: string
|
||||
|
|
|
|||
|
|
@ -2796,8 +2796,13 @@ const setCollectionProperties = (newCollection: {
|
|||
path: string
|
||||
}) => {
|
||||
const { collection, path, isRootCollection } = newCollection
|
||||
|
||||
if (!collection) return
|
||||
|
||||
// We default to using collection.id but during the callback to our application, collection.id is not being preserved.
|
||||
// Since path is being preserved, we extract the collectionId from path instead
|
||||
const collectionId = collection.id ?? path.split("/").pop()
|
||||
|
||||
if (collectionsType.value.type === "my-collections") {
|
||||
if (isRootCollection) {
|
||||
editRESTCollection(parseInt(path), collection)
|
||||
|
|
@ -2818,13 +2823,13 @@ const setCollectionProperties = (newCollection: {
|
|||
)
|
||||
})
|
||||
toast.success(t("collection.properties_updated"))
|
||||
} else if (hasTeamWriteAccess.value && collection.id) {
|
||||
} else if (hasTeamWriteAccess.value && collectionId) {
|
||||
const data = {
|
||||
auth: collection.auth,
|
||||
headers: collection.headers,
|
||||
}
|
||||
pipe(
|
||||
updateTeamCollection(collection.id, JSON.stringify(data), undefined),
|
||||
updateTeamCollection(collectionId, JSON.stringify(data), undefined),
|
||||
TE.match(
|
||||
(err: GQLError<string>) => {
|
||||
toast.error(`${getErrorMessage(err)}`)
|
||||
|
|
|
|||
|
|
@ -460,7 +460,7 @@ const saveEnvironment = () => {
|
|||
key: e.key,
|
||||
currentValue: e.currentValue,
|
||||
varIndex: i,
|
||||
isSecret: e.secret,
|
||||
isSecret: e.secret ?? false,
|
||||
})
|
||||
: O.none
|
||||
)
|
||||
|
|
@ -492,21 +492,12 @@ const saveEnvironment = () => {
|
|||
|
||||
const variables = pipe(
|
||||
filteredVariables,
|
||||
A.map((e) =>
|
||||
e.secret
|
||||
? {
|
||||
key: e.key,
|
||||
secret: e.secret,
|
||||
initialValue: e.initialValue,
|
||||
currentValue: "",
|
||||
}
|
||||
: {
|
||||
key: e.key,
|
||||
secret: e.secret,
|
||||
initialValue: e.initialValue,
|
||||
currentValue: "",
|
||||
}
|
||||
)
|
||||
A.map((e) => ({
|
||||
key: e.key,
|
||||
secret: e.secret,
|
||||
initialValue: e.initialValue || "",
|
||||
currentValue: "",
|
||||
}))
|
||||
)
|
||||
|
||||
const environmentUpdated: Environment = {
|
||||
|
|
|
|||
|
|
@ -426,7 +426,7 @@ const saveEnvironment = async () => {
|
|||
key: e.key,
|
||||
currentValue: e.currentValue,
|
||||
varIndex: i,
|
||||
isSecret: e.secret,
|
||||
isSecret: e.secret ?? false,
|
||||
})
|
||||
: O.none
|
||||
)
|
||||
|
|
@ -437,7 +437,7 @@ const saveEnvironment = async () => {
|
|||
A.map((e) => ({
|
||||
key: e.key,
|
||||
secret: e.secret,
|
||||
initialValue: e.initialValue,
|
||||
initialValue: e.initialValue || "",
|
||||
currentValue: "",
|
||||
}))
|
||||
)
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
<HoppSmartTab
|
||||
v-if="showTestsTab"
|
||||
:id="'tests'"
|
||||
:label="`${t('tab.tests')}`"
|
||||
:label="`${t('tab.post_request_script')}`"
|
||||
:indicator="
|
||||
'testScript' in request &&
|
||||
request.testScript &&
|
||||
|
|
|
|||
|
|
@ -169,16 +169,16 @@
|
|||
<HoppSmartPlaceholder
|
||||
v-else-if="testResults && testResults.scriptError"
|
||||
:src="`/images/states/${colorMode.value}/upload_error.svg`"
|
||||
:alt="`${t('error.test_script_fail')}`"
|
||||
:heading="t('error.test_script_fail')"
|
||||
:text="t('helpers.test_script_fail')"
|
||||
:alt="`${t('error.post_request_script_fail')}`"
|
||||
:heading="t('error.post_request_script_fail')"
|
||||
:text="t('helpers.post_request_script_fail')"
|
||||
/>
|
||||
<HoppSmartPlaceholder
|
||||
v-else
|
||||
:src="`/images/states/${colorMode.value}/validation.svg`"
|
||||
:alt="`${t('empty.tests')}`"
|
||||
:heading="t('empty.tests')"
|
||||
:text="t('helpers.tests')"
|
||||
:text="t('helpers.post_request_script')"
|
||||
>
|
||||
<template #body>
|
||||
<HoppButtonSecondary
|
||||
|
|
|
|||
|
|
@ -156,9 +156,9 @@
|
|||
<HoppSmartPlaceholder
|
||||
v-else-if="testResults && testResults.scriptError"
|
||||
:src="`/images/states/${colorMode.value}/youre_lost.svg`"
|
||||
:alt="`${t('error.test_script_fail')}`"
|
||||
:heading="t('error.test_script_fail')"
|
||||
:text="t('helpers.test_script_fail')"
|
||||
:alt="`${t('error.post_request_script_fail')}`"
|
||||
:heading="t('error.post_request_script_fail')"
|
||||
:text="t('helpers.post_request_script_fail')"
|
||||
>
|
||||
</HoppSmartPlaceholder>
|
||||
<template v-else>
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ watch(
|
|||
},
|
||||
{
|
||||
count: testScriptsCount,
|
||||
label: "import.import_summary_test_scripts_title",
|
||||
label: "import.import_summary_post_request_scripts_title",
|
||||
id: "testScripts" as const,
|
||||
},
|
||||
]
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ export const useModifyTestScript = (
|
|||
isModifyTestScriptPending.value = true
|
||||
|
||||
if (!modifyTestScriptForPlatform) {
|
||||
toast.error(t("ai_experiments.modify_test_script_error"))
|
||||
toast.error(t("ai_experiments.modify_post_request_script_error"))
|
||||
isModifyTestScriptPending.value = false
|
||||
return
|
||||
}
|
||||
|
|
@ -267,7 +267,7 @@ export const useModifyTestScript = (
|
|||
)
|
||||
|
||||
if (result && E.isLeft(result)) {
|
||||
toast.error(t("ai_experiments.modify_test_script_error"))
|
||||
toast.error(t("ai_experiments.modify_post_request_script_error"))
|
||||
isModifyTestScriptPending.value = false
|
||||
return
|
||||
}
|
||||
|
|
|
|||
|
|
@ -100,6 +100,16 @@ export const getTestableBody = (
|
|||
return x
|
||||
}
|
||||
|
||||
/**
|
||||
* Combines the environment variables from the request and the selected, global, and temporary environments.
|
||||
* The priority is as follows:
|
||||
* 1. Request variables
|
||||
* 2. Temporary variables (if any)
|
||||
* 3. Selected environment variables
|
||||
* 4. Global environment variables
|
||||
* @param variables The environment variables to combine
|
||||
* @returns The combined environment variables
|
||||
*/
|
||||
export const combineEnvVariables = (variables: {
|
||||
environments: {
|
||||
selected: Environment["variables"]
|
||||
|
|
@ -119,8 +129,8 @@ export const executedResponses$ = new Subject<
|
|||
>()
|
||||
|
||||
/**
|
||||
* Used to update the environment schema with the secret variables
|
||||
* and store the secret variable values in the secret environment service
|
||||
* This will update the environment variables in the current environment
|
||||
* and secret environment service.
|
||||
* @param envs The environment variables to update
|
||||
* @param type Whether the environment variables are global or selected
|
||||
* @returns the updated environment variables
|
||||
|
|
@ -164,7 +174,7 @@ const updateEnvironments = (
|
|||
|
||||
nonSecretVariables.push({
|
||||
key: e.key,
|
||||
isSecret: e.secret,
|
||||
isSecret: e.secret ?? false,
|
||||
varIndex: index,
|
||||
currentValue: e.currentValue ?? "",
|
||||
})
|
||||
|
|
@ -216,8 +226,24 @@ const getEnvironmentVariableValue = (
|
|||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* Set currentValue as initialValue if currentValue is empty
|
||||
* This is set just for request runtime and it will not be persisted.
|
||||
* @param env The environment variable to be transformed
|
||||
* @returns The transformed environment variable with currentValue set to initialValue if empty
|
||||
*/
|
||||
const getTransformedEnvs = (
|
||||
env: Environment["variables"][number]
|
||||
): Environment["variables"][number] => {
|
||||
return {
|
||||
...env,
|
||||
currentValue: env.currentValue || env.initialValue,
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Transforms the environment list to a list with unique keys with value
|
||||
* and set currentValue as initialValue if currentValue is empty.
|
||||
* @param envs The environment list to be transformed
|
||||
* @returns The transformed environment list with keys with value
|
||||
*/
|
||||
|
|
@ -226,21 +252,21 @@ const filterNonEmptyEnvironmentVariables = (
|
|||
): Environment["variables"] => {
|
||||
const envsMap = new Map<string, Environment["variables"][number]>()
|
||||
envs.forEach((env) => {
|
||||
if (env.secret) {
|
||||
envsMap.set(env.key, env)
|
||||
} else if (envsMap.has(env.key)) {
|
||||
const existingEnv = envsMap.get(env.key)
|
||||
const transformedEnv = getTransformedEnvs(env)
|
||||
|
||||
if (envsMap.has(transformedEnv.key)) {
|
||||
const existingEnv = envsMap.get(transformedEnv.key)
|
||||
|
||||
if (
|
||||
existingEnv &&
|
||||
"currentValue" in existingEnv &&
|
||||
existingEnv.currentValue === "" &&
|
||||
env.currentValue !== ""
|
||||
transformedEnv.currentValue !== ""
|
||||
) {
|
||||
envsMap.set(env.key, env)
|
||||
envsMap.set(transformedEnv.key, transformedEnv)
|
||||
}
|
||||
} else {
|
||||
envsMap.set(env.key, env)
|
||||
envsMap.set(transformedEnv.key, transformedEnv)
|
||||
}
|
||||
})
|
||||
|
||||
|
|
@ -502,7 +528,7 @@ function updateEnvsAfterTestScript(runResult: E.Right<SandboxTestResult>) {
|
|||
v: 2,
|
||||
variables: globalEnvVariables,
|
||||
})
|
||||
updateEnvironments(
|
||||
const selectedEnvVariables = updateEnvironments(
|
||||
// @ts-expect-error Typescript can't figure out this inference for some reason
|
||||
cloneDeep(runResult.right.envs.selected),
|
||||
"selected"
|
||||
|
|
@ -516,7 +542,7 @@ function updateEnvsAfterTestScript(runResult: E.Right<SandboxTestResult>) {
|
|||
name: env.name,
|
||||
v: 2,
|
||||
id: "id" in env ? env.id : "",
|
||||
variables: runResult.right.envs.selected,
|
||||
variables: selectedEnvVariables,
|
||||
})
|
||||
} else if (
|
||||
environmentsStore.value.selectedEnvironmentIndex.type === "TEAM_ENV"
|
||||
|
|
@ -526,7 +552,7 @@ function updateEnvsAfterTestScript(runResult: E.Right<SandboxTestResult>) {
|
|||
})
|
||||
pipe(
|
||||
updateTeamEnvironment(
|
||||
JSON.stringify(runResult.right.envs.selected),
|
||||
JSON.stringify(selectedEnvVariables),
|
||||
environmentsStore.value.selectedEnvironmentIndex.teamEnvID,
|
||||
env.name
|
||||
)
|
||||
|
|
@ -565,13 +591,15 @@ export function runTestRunnerRequest(
|
|||
id: "env-id",
|
||||
v: 2,
|
||||
name: "Env",
|
||||
variables: combineEnvVariables({
|
||||
environments: {
|
||||
...preRequestScriptResult.right.envs,
|
||||
temp: !persistEnv ? getTemporaryVariables() : [],
|
||||
},
|
||||
requestVariables: [],
|
||||
}),
|
||||
variables: filterNonEmptyEnvironmentVariables(
|
||||
combineEnvVariables({
|
||||
environments: {
|
||||
...preRequestScriptResult.right.envs,
|
||||
temp: !persistEnv ? getTemporaryVariables() : [],
|
||||
},
|
||||
requestVariables: [],
|
||||
})
|
||||
),
|
||||
})
|
||||
|
||||
const [stream] = createRESTNetworkRequestStream(effectiveRequest)
|
||||
|
|
|
|||
|
|
@ -57,7 +57,11 @@ const filterNonEmptyEnvironmentVariables = (
|
|||
if (envsMap.has(env.key)) {
|
||||
const existingEnv = envsMap.get(env.key)
|
||||
|
||||
if (existingEnv?.currentValue === "" && env.currentValue !== "") {
|
||||
if (
|
||||
existingEnv?.currentValue === "" &&
|
||||
existingEnv?.initialValue === "" &&
|
||||
(env.currentValue || env.initialValue)
|
||||
) {
|
||||
envsMap.set(env.key, env)
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,11 @@ import {
|
|||
TeamEnvironmentUpdatedDocument,
|
||||
} from "../backend/graphql"
|
||||
import { TeamEnvironment } from "./TeamEnvironment"
|
||||
import { Environment, EnvironmentSchemaVersion } from "@hoppscotch/data"
|
||||
import {
|
||||
Environment,
|
||||
EnvironmentSchemaVersion,
|
||||
translateToNewEnvironmentVariables,
|
||||
} from "@hoppscotch/data"
|
||||
|
||||
type EntityType = "environment"
|
||||
type EntityID = `${EntityType}-${string}`
|
||||
|
|
@ -114,10 +118,15 @@ export default class TeamEnvironmentAdapter {
|
|||
if (result.right.team) {
|
||||
results.push(
|
||||
...result.right.team.teamEnvironments.map((x) => {
|
||||
// Keep the environment structure consistent with the new schema
|
||||
const environment = <Environment>{
|
||||
v: EnvironmentSchemaVersion,
|
||||
id: x.id,
|
||||
name: x.name,
|
||||
variables: JSON.parse(x.variables),
|
||||
variables: JSON.parse(x.variables).map(
|
||||
(variable: Environment["variables"][number]) =>
|
||||
translateToNewEnvironmentVariables(variable)
|
||||
),
|
||||
}
|
||||
|
||||
const parsedEnvironment = Environment.safeParse(environment)
|
||||
|
|
@ -128,10 +137,7 @@ export default class TeamEnvironmentAdapter {
|
|||
environment:
|
||||
parsedEnvironment.type === "ok"
|
||||
? parsedEnvironment.value
|
||||
: {
|
||||
...environment,
|
||||
v: EnvironmentSchemaVersion,
|
||||
},
|
||||
: environment,
|
||||
}
|
||||
})
|
||||
)
|
||||
|
|
|
|||
|
|
@ -40,10 +40,7 @@ const unWrapEnvironments = (
|
|||
}
|
||||
return {
|
||||
...globalVar,
|
||||
currentValue:
|
||||
currentVar?.currentValue ??
|
||||
globalVar.currentValue ??
|
||||
globalVar.initialValue,
|
||||
currentValue: currentVar?.currentValue || globalVar.currentValue || "",
|
||||
}
|
||||
})
|
||||
|
||||
|
|
@ -66,9 +63,7 @@ const unWrapEnvironments = (
|
|||
return {
|
||||
...selectedVar,
|
||||
currentValue:
|
||||
currentVar?.currentValue ??
|
||||
selectedVar.currentValue ??
|
||||
selectedVar.initialValue,
|
||||
currentVar?.currentValue || selectedVar.currentValue || "",
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
|
|||
|
|
@ -427,6 +427,10 @@ export type AggregateEnvironment = {
|
|||
* Stream returning all the environment variables accessible in
|
||||
* the current state (Global + The Selected Environment).
|
||||
* NOTE: The source environment attribute will be "Global" for Global Env as source.
|
||||
* The priority of the variables is as follows:
|
||||
* 1. Pre-defined variables
|
||||
* 2. Selected Environment Variables
|
||||
* 3. Global Environment Variables
|
||||
*/
|
||||
export const aggregateEnvs$: Observable<AggregateEnvironment[]> = combineLatest(
|
||||
[currentEnvironment$, globalEnv$]
|
||||
|
|
@ -492,7 +496,7 @@ export function getAggregateEnvs() {
|
|||
const currentEnv = getCurrentEnvironment()
|
||||
return [
|
||||
...currentEnv.variables.map((x) => {
|
||||
let currentValue
|
||||
let currentValue = ""
|
||||
if (!x.secret) {
|
||||
currentValue = x.currentValue
|
||||
}
|
||||
|
|
@ -506,7 +510,7 @@ export function getAggregateEnvs() {
|
|||
}
|
||||
}),
|
||||
...getGlobalVariables().map((x) => {
|
||||
let currentValue
|
||||
let currentValue = ""
|
||||
if (!x.secret) {
|
||||
currentValue = x.currentValue
|
||||
}
|
||||
|
|
@ -567,6 +571,7 @@ export const aggregateEnvsWithSecrets$: Observable<AggregateEnvironment[]> =
|
|||
combineLatest([currentEnvironment$, globalEnv$]).pipe(
|
||||
map(([selectedEnv, globalEnv]) => {
|
||||
const results: AggregateEnvironment[] = []
|
||||
|
||||
selectedEnv?.variables.map((x, index) => {
|
||||
let currentValue = x.currentValue
|
||||
if (x.secret) {
|
||||
|
|
|
|||
|
|
@ -386,7 +386,7 @@ export const CURRENT_ENVIRONMENT_VALUE_SCHEMA = z.union([
|
|||
key: z.string(),
|
||||
currentValue: z.string(),
|
||||
varIndex: z.number(),
|
||||
isSecret: z.boolean(),
|
||||
isSecret: z.boolean().catch(false),
|
||||
})
|
||||
.strict()
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "hoppscotch-desktop",
|
||||
"private": true,
|
||||
"version": "25.5.2",
|
||||
"version": "25.5.3",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
|
|
|||
2
packages/hoppscotch-desktop/src-tauri/Cargo.lock
generated
2
packages/hoppscotch-desktop/src-tauri/Cargo.lock
generated
|
|
@ -2054,7 +2054,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "hoppscotch-desktop"
|
||||
version = "25.5.2"
|
||||
version = "25.5.3"
|
||||
dependencies = [
|
||||
"axum",
|
||||
"dirs 6.0.0",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "hoppscotch-desktop"
|
||||
version = "25.5.2"
|
||||
version = "25.5.3"
|
||||
description = "Desktop App for hoppscotch.io"
|
||||
authors = ["CuriousCorrelation"]
|
||||
edition = "2021"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "Hoppscotch",
|
||||
"version": "25.5.2",
|
||||
"version": "25.5.3",
|
||||
"identifier": "io.hoppscotch.desktop",
|
||||
"build": {
|
||||
"beforeDevCommand": "pnpm dev",
|
||||
|
|
|
|||
|
|
@ -299,7 +299,7 @@ const loadVendored = async () => {
|
|||
const vendoredInstance: VendoredInstance = {
|
||||
type: "vendored",
|
||||
displayName: "Hoppscotch",
|
||||
version: "25.5.2",
|
||||
version: "25.5.3",
|
||||
}
|
||||
|
||||
const connectionState: ConnectionState = {
|
||||
|
|
|
|||
|
|
@ -222,6 +222,11 @@ export const implementation: VersionedAPI<RelayV1> = {
|
|||
normalizedHeaders["Content-Type"] ||
|
||||
normalizedHeaders["CONTENT-TYPE"]
|
||||
|
||||
const rawBody = axiosResponse.data
|
||||
const bodySize = rawBody.byteLength
|
||||
|
||||
const headerSize = JSON.stringify(axiosResponse.headers).length
|
||||
|
||||
const response: RelayResponse = {
|
||||
id: request.id,
|
||||
status: axiosResponse.status,
|
||||
|
|
@ -235,11 +240,9 @@ export const implementation: VersionedAPI<RelayV1> = {
|
|||
end: endTime,
|
||||
},
|
||||
size: {
|
||||
headers: JSON.stringify(axiosResponse.headers).length,
|
||||
body: axiosResponse.data?.length ?? 0,
|
||||
total:
|
||||
JSON.stringify(axiosResponse.headers).length +
|
||||
(axiosResponse.data?.length ?? 0),
|
||||
headers: headerSize,
|
||||
body: bodySize,
|
||||
total: headerSize + bodySize,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@hoppscotch/selfhost-web",
|
||||
"private": true,
|
||||
"version": "2025.5.2",
|
||||
"version": "2025.5.3",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev:vite": "vite",
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ async function initApp() {
|
|||
displayConfig: {
|
||||
displayName: "Hoppscotch",
|
||||
description: "On-Prem",
|
||||
version: "25.5.2",
|
||||
version: "25.5.3",
|
||||
connectingMessage: "Connecting to On-prem",
|
||||
connectedMessage: "Connected to On-prem",
|
||||
},
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ pub struct Bundle {
|
|||
impl Bundle {
|
||||
pub fn new(bundle_version: Option<String>, content: Vec<u8>, signature: Signature, files: Vec<FileEntry>) -> Self {
|
||||
let metadata = BundleMetadata {
|
||||
version: "2025.5.2".to_string(),
|
||||
version: "2025.5.3".to_string(),
|
||||
created_at: Utc::now(),
|
||||
signature,
|
||||
manifest: Manifest { files },
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ impl Default for ServerConfig {
|
|||
Self {
|
||||
port: default_port(),
|
||||
max_bundle_size: default_max_bundle_size(),
|
||||
bundle_version: Some("2025.5.2".to_string()),
|
||||
bundle_version: Some("2025.5.3".to_string()),
|
||||
csp_directives: None,
|
||||
signing_key: None,
|
||||
verifying_key: None,
|
||||
|
|
@ -75,7 +75,7 @@ impl ServerConfig {
|
|||
Self {
|
||||
signing_key: Some(key_pair.signing_key),
|
||||
verifying_key: Some(key_pair.verifying_key),
|
||||
bundle_version: Some("2025.5.2".to_string()),
|
||||
bundle_version: Some("2025.5.3".to_string()),
|
||||
frontend_path,
|
||||
is_dev: cfg!(debug_assertions),
|
||||
..Default::default()
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "hoppscotch-sh-admin",
|
||||
"private": true,
|
||||
"version": "2025.5.2",
|
||||
"version": "2025.5.3",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "pnpm exec npm-run-all -p -l dev:*",
|
||||
|
|
|
|||
Loading…
Reference in a new issue