package com.crowdin.activity;

import com.crowdin.event.FileChangeListener;
import com.crowdin.utils.Utils;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.startup.StartupActivity;
import git4idea.GitBranch;
import git4idea.branch.GitBranchUtil;
import org.jetbrains.annotations.NotNull;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by ihor on 1/26/17.
 */
public class CrowdinStartupActivity implements StartupActivity {

    private static final Logger LOGGER = LoggerFactory.getLogger(CrowdinStartupActivity.class);

    @Override
    public void runActivity(@NotNull Project project) {
        FileChangeListener fileChangeListener = new FileChangeListener();
        fileChangeListener.initComponent();
        LOGGER.info("on");
    }
}

@@ -566,16 +566,86 @@
 lass);%0A%0A
+    public static final String PROPERTY_AUTO_UPLOAD = %22auto-upload%22;%0A%0A
     @Ove
@@ -706,16 +706,145 @@
 ject) %7B%0A
+        String autoUploadProp = Utils.getPropertyValue(PROPERTY_AUTO_UPLOAD, true);%0A        if (autoUploadProp != %22false%22) %7B%0A    
         
@@ -917,16 +917,20 @@
         
+    
 fileChan
@@ -953,24 +953,34 @@
 omponent();%0A
+        %7D%0A
         LOGG

Disable automatic file upload