Skip to content

Commit

Permalink
Alpha-4
Browse files Browse the repository at this point in the history
  • Loading branch information
dim-s committed Feb 21, 2016
1 parent 79b0cae commit ed3d628
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion develnext/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ task distIdeWindowsSetup(dependsOn: ['distIdeWindows']) {

if (new File(uploadPath).isDirectory()) {
copy {
from "$project.buildDir/install/$project.name/DevelNextSetup.exe"
from "$project.buildDir/distributions/DevelNextSetup.exe"
into "$uploadPath/YandexDisk"
}
}
Expand Down
Binary file modified develnext/launcher/DevelNext.exe
Binary file not shown.
10 changes: 5 additions & 5 deletions develnext/src/ide/forms/SharedProjectDetailForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function __construct($uid, $forUpload = false)

public function isAuthRequired()
{
return false;
return $this->forUpload;
}

protected function init()
Expand Down Expand Up @@ -234,11 +234,11 @@ public function doCopyUrl()
*/
public function doShow()
{
if (!Ide::accountManager()->isAuthorized()) {
return;
}

if ($this->reuploadButton) {
if (!Ide::accountManager()->isAuthorized()) {
return;
}

$this->reuploadButton->enabled = true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ public function handle($query)
{
$uid = str::sub($query, str::length('project:'));

if (str::endsWith($uid, '/')) {
$uid = str::sub($uid, 0, str::length($uid) - 1);
}

uiLater(function () use ($uid) {
Ide::service()->projectArchive()->getAsync($uid, function (ServiceResponse $response) use ($uid) {
if ($response->isSuccess()) {
Expand Down

0 comments on commit ed3d628

Please sign in to comment.