Skip to content

Commit

Permalink
v1.3.1 (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
i582 authored Jun 28, 2022
1 parent 4df435e commit e589ce9
Show file tree
Hide file tree
Showing 5 changed files with 151 additions and 4 deletions.
25 changes: 24 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,35 @@
# AdmStorm Changelog

## [Unreleased]
## 1.3.1 — 29.06.2022

### Added

- Action on the Help menu to send logs to Sentry.
- Debug log console like yarn watch

### Other improvements

- Users can now run PHPUnit tests from the context menu of a file.
- Users can now run ktest benchmarks from the context menu of a file.
- On the installation page, the point about opening the project has been clarified.
- On the installation page, the section about Yubikey has been updated,
- Added a clarification about the settings page.
- Added settings to enable/disable widgets.
- Updated api tests.
- Added checking of the new plugin version available.

### Fixed

- Freeze when running a PHPUnit test, or a ktest benchmark.
- Freeze when connection is lost for yarn watch.
- Launch of a separate benchmark method, now if a method with a name that's a prefix for the name of other methods is launched, then other methods won't be launched.
- Exception when the plugin automatically opens a new SSH tunnel.
- Performance warning for line marker for ktest.
- Yarn watch no longer appears in non-vkcom projects.
- Order of arguments for new api tests.
- Server name on the plugin settings page to the correct one Dev-server.
- Bug when mark yarn watch as running when connection is lost.

## 1.3.0 — 22.06.2022

### Added
Expand Down
Binary file added docs/images/watch_debug_log.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
124 changes: 124 additions & 0 deletions docs/whatsnew.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,130 @@
<div class="chapter no-top-padding titled-block-text-layout">
<div class="chapter_inner">
<div class="chapter__block">
<div class="chapter__version-block">
<h2 class="chapter__big-title chapter__big-title--bold">
Версия v1.3.1
</h2>

<time datetime="2022-06-29">29 июня 2022</time>

<p class="chapter__text chapter__version-text">
Консоль для просмотра debug логов прямо в IDE, небольшие улучшения, а также большое количество исправлений.
</p>

<div class="chapter__version-block-new chapter__version-block-new-features">

<div class="chapter__version-block-new-feature">
<h2 class="chapter__version-block-new-feature__title">
Консоль для просмотра debug логов прямо в IDE
</h2>

<div class="chapter__version-block-new-feature__inner
chapter__version-block-new-feature__inner--two-column">
<p class="chapter__text">
В прошлом обновлении мы добавили поддержку
<code class="chapter__code-block__inline">yarn watch</code>
в виде виджета на панели снизу.
Теперь рядом с ним добавился виджет для просмотра debug логов.

<br>
<br>

Больше не нужно заходить отдельно на сервер, чтобы посмотреть логи, они будут
отображаться прямо в IDE.

<br>
<br>

Виджет всегда можно отключить в настройках
<span class="chapter__menupath">Tools | AdmStorm</span>..
</p>

<div class="chapter__text-image-block-image">
<img alt="" src="./images/watch_debug_log.png">
</div>

</div>
</div>

<div class="chapter__version-block-new-feature">
<div class="chapter__version-block-new-feature__inner">
<h2 class="chapter__version-block-new-feature__title">
Другие улучшения
</h2>

<ul>
<li>
Теперь тесты PHPUnit можно запускать из контекстного меню файла.
</li>
<li>
Теперь ktest бенчмарки можно запускать из контекстного меню файла.
</li>
<li>
На странице установки уточнён момент про открытие проекта.
</li>
<li>
На странице установки обновлён пункт про Yubikey, а также добавлено уточнение про
страницу настроек.
</li>
<li>
Добавлены настройки для включения/отключения виджетов инструментов.
</li>
<li>
Обновлены тесты API.
</li>
<li>
Добавлено уведомление о наличии новой версии плагина.
</li>
</ul>
</div>
</div>

<div class="chapter__version-block-new-feature">
<div class="chapter__version-block-new-feature__inner">
<h2 class="chapter__version-block-new-feature__title">
Исправлено
</h2>

<ul>
<li>
Исправлено зависание во время запуска PHPUnit теста или ktest бенчмарка.
</li>
<li>
Исправлено зависание когда потеряно подключение при запуске
<code class="chapter__code-block__inline">yarn watch</code>.
</li>
<li>
Исправлен запуск отдельного метода бенчмарка, теперь если запускается метод с именем,
которое является также префиксом для имени других методов, то другие методы
не будут запущены.
</li>
<li>
Исправлено исключение, когда плагин автоматически открывает новый SSH туннель.
</li>
<li>
Исправлено предупреждение о производительности для line marker для ktest.
</li>
<li>
<code class="chapter__code-block__inline">yarn watch</code> теперь не появляется
в не vkcom проектах.
</li>
<li>
Исправлен порядок следования аргументов для новых api тестов.
</li>
<li>
Исправлено название сервера на странице настройки плагина на верный вариант Dev-server.
</li>
<li>
Исправлен баг, когда при потере соединения
при запуске <code class="chapter__code-block__inline">yarn watch</code>
плагин считал инструмент запущенными.
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="chapter__version-block">
<h2 class="chapter__big-title chapter__big-title--bold">
Версия v1.3.0
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginGroup=com.vk
pluginName=admstorm
pluginVersion=1.3.0
pluginVersion=1.3.1
# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
platformType=IU
platformDownloadSources=true
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/com/vk/admstorm/ssh/SshConnectionService.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.vk.admstorm.ssh

import com.intellij.openapi.Disposable
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.components.Service
import com.intellij.openapi.components.service
import com.intellij.openapi.diagnostic.logger
Expand All @@ -23,6 +22,7 @@ import com.vk.admstorm.notifications.AdmNotification
import com.vk.admstorm.notifications.AdmWarningNotification
import com.vk.admstorm.transfer.TransferService
import com.vk.admstorm.utils.MySshUtils
import com.vk.admstorm.utils.MyUtils.executeOnPooledThread
import git4idea.util.GitUIUtil.code
import net.schmizz.sshj.sftp.SFTPClient
import java.io.IOException
Expand Down Expand Up @@ -121,7 +121,7 @@ class SshConnectionService(private var myProject: Project) : Disposable {
// Disconnect the current connection, if it exists.
disconnect()

ApplicationManager.getApplication().executeOnPooledThread {
executeOnPooledThread {
// See also [com.jetbrains.plugins.remotesdk.tools.RemoteTool.startRemoteProcess]
@Suppress("UnstableApiUsage")
myConnectionBuilder = myCredentials!!.connectionBuilder(
Expand Down

0 comments on commit e589ce9

Please sign in to comment.