package org.stepic.droid.util;


import org.jetbrains.annotations.Nullable;

public class AppConstants {


    public static final String FILE_SCHEME_PREFIX = "file://";
    public static final String FILE_PROVIDER_AUTHORITY = ".my.package.name.provider";
    public static final String SVG_EXTENSION = ".svg";

    public static final String APP_SCHEME = "stepic://";
    public static final String QUERY_ERROR = "error";
    public static final String ERROR_SOCIAL_AUTH_WITH_EXISTING_EMAIL = "social_signup_with_existing_email";

    public static final String USER_LOG_IN = "user_login_clicked";
    public static final String KEY_EMAIL_BUNDLE = "email";
    public static final String KEY_COURSE_BUNDLE = "course";
    public static final String KEY_COURSE_LONG_ID = "course_id_key";
    public static final String KEY_SECTION_BUNDLE = "section";
    public static final String KEY_UNIT_BUNDLE = "unit";
    public static final String KEY_LESSON_BUNDLE = "lesson";
    public static final String KEY_STEP_BUNDLE = "step";
    public static final String DEFAULT_QUALITY = "360";
    public static final String MAX_QUALITY = "720";
    public static final int MAX_QUALITY_INT = 720;
    public static final String KEY_LOAD_TYPE = "KEY_LOAD_TYPE";
    public static final String KEY_TABLE_TYPE = "table_type";
    public static final String COMMENT_DATE_TIME_PATTERN = "dd.MM.yyyy HH:mm";

    public static final String WEB_URI_SEPARATOR = "/";

    //Types of steps:
    public static final String TYPE_TEXT = "text";
    public static final String TYPE_VIDEO = "video";
    public static final String TYPE_MATCHING = "matching";
    public static final String TYPE_SORTING = "sorting";
    public static final String TYPE_MATH = "math";
    public static final String TYPE_FREE_ANSWER = "free-answer";
    public static final String TYPE_TABLE = "table";
    public static final String TYPE_STRING = "string";
    public static final String TYPE_CHOICE = "choice";
    public static final String TYPE_NUMBER = "number";
    public static final String TYPE_DATASET = "dataset";
    public static final String TYPE_ANIMATION = "animation";
    public static final String TYPE_CHEMICAL = "chemical";
    public static final String TYPE_FILL_BLANKS = "fill-blanks";
    public static final String TYPE_PUZZLE = "puzzle";
    public static final String TYPE_PYCHARM = "pycharm";
    public static final String TYPE_CODE = "code";
    public static final String TYPE_ADMIN = "admin";
    public static final String TYPE_SQL = "sql";
    public static final String TYPE_LINUX_CODE = "linux-code";

    public static final String TYPE_NULL = "null_type";

    public static final int REQUEST_EXTERNAL_STORAGE = 13;
    public static final String KEY_ASSIGNMENT_BUNDLE = "key_assignment";
    public static final String COURSE_ID_KEY = "course_id";
    public static final String ENROLLMENT_KEY = "is_enrolled";

    public static final int REQUEST_CODE_DETAIL = 1;
    public static final java.lang.String THUMBNAIL_POSTFIX_EXTENSION = ".png";
    public static final java.lang.String DELIMITER_TEXT_SCORE = "/";
    public static final java.lang.String NOTIFICATION_CANCELED = "notification_canceled";


    public static final String OPEN_NOTIFICATION_FOR_CHECK_COURSE = "Open_notification_check_course";
    public static final String OPEN_NOTIFICATION_FOR_ENROLL_REMINDER = "open_notificatoin_for_enroll_reminder";
    public static final String OPEN_NOTIFICATION_FROM_STREAK = "open_notification_from_streak";
    public static final String OPEN_NOTIFICATION = "Open_notification";
    public static final long MILLIS_IN_24HOURS = 86400000L;
    public static final long MILLIS_IN_1HOUR = 3600000L;

    public static final String APP_INDEXING_COURSE_DETAIL_MANIFEST_HACK = "course_app";
    public static final String APP_INDEXING_SYLLABUS_MANIFEST = "syllabus";
    public static final long TWO_DAY_IN_MINUTES = 2880L;
    public static final long MILLIS_IN_1MONTH = 2592000000L;
    public static final String COMMA = ",";
    public static final int REQUEST_CALENDAR_PERMISSION = 1122;

    public static final String LINKEDIN_ADD_URL = "https://www.linkedin.com/profile/add?";
    public static final String LINKEDIN_ED_ID = "0_uInsUtRlLF5qiDUg80Aftvf5K-uMiiQPc0IVksZ_0oh1hhPRasb5cWi8eD5WXfgDaSgvthvZk7wTBMS3S-m0L6A6mLjErM6PJiwMkk6nYZylU7__75hCVwJdOTZCAkdv";//// TODO: 02.08.16 add to configs?

    public static final int REQUEST_CODE_GOOGLE_SIGN_IN = 7007;

    public static final int ENROLLED_FILTER = 1;
    public static final int FEATURED_FILTER = 2;

    public static final int DEFAULT_NUMBER_IDS_IN_QUERY = 100;
    public static final java.lang.String KEY_MODULE_POSITION = "section_long_id";
    public static final int LAUNCHES_FOR_EXPERT_USER = 20;
    public static final long MILLIS_IN_SEVEN_DAYS = 604800000L;
    public static final String NOTIFICATION_CANCELED_REMINDER = "notification_canceled_reminder";
    public static final int MAX_NUMBER_OF_SHOWING_STREAK_DIALOG = 3;
    public static final int NUMBER_OF_DAYS_BETWEEN_STREAK_SHOWING = 2;
    public static final int MAX_NUMBER_OF_NOTIFICATION_STREAK = 3;
    @Nullable
    public static final String NOTIFICATION_CANCELED_STREAK = "notification_canceled_streaks";
    public static final String FIND_COURSES_SHORTCUT_ID = "find_courses";
    public static final String OPEN_SHORTCUT_FIND_COURSES = "open_shortcut_find_courses";
    public static final String PROFILE_SHORTCUT_ID = "profile";
    public static final String OPEN_SHORTCUT_PROFILE = "open_shortcut_profile";
    public static final String INTERNAL_STEPIK_ACTION = "internal_stepik_action";
    public static final String setCookieHeaderName = "Set-Cookie";
    public static final String authorizationHeaderName = "Authorization";
    public static final String cookieHeaderName = "Cookie";
    public static final String refererHeaderName = "Referer";
    public static final String csrfTokenHeaderName = "X-CSRFToken";

    public final static String FROM_MAIN_FEED_FLAG = "from_main_feed";
    public final static String ANALYTIC_CODE_SCREEN_KEY = "size";
}

@@ -5128,17 +5128,17 @@
 TREAK = 
-3
+5
 ;%0A    @N

increment MAX_NUMBER_OF_NOTIFICATION_STREAK to 5