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");
    }
}

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);

    public static final String PROPERTY_AUTO_UPLOAD = "auto-upload";

    @Override
    public void runActivity(@NotNull Project project) {
        String autoUploadProp = Utils.getPropertyValue(PROPERTY_AUTO_UPLOAD, true);
        if (autoUploadProp != "false") {
            FileChangeListener fileChangeListener = new FileChangeListener();
            fileChangeListener.initComponent();
        }
        LOGGER.info("on");
    }
}

Disable automatic file upload