Package de.unirostock.sems.cbarchive.web
Class Fields
- java.lang.Object
-
- de.unirostock.sems.cbarchive.web.Fields
-
public class Fields extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
ALLOW_SHARING_HISTORY
allows to share the entire workspace history, this does not effect the UI, but enables the /share/history endpoint, which is used by the migration PHP script.static String
CHARSET
The charset for all http related interactionsstatic int
COOKIE_AGE
The Constant COOKIE_AGE.static String
COOKIE_PATH
The Constant COOKIE_PATH.static String
COOKIE_USER
The Constant COOKIE_USER.static String
COOKIE_WORKSPACE_HISTORY
The Constant COOKIE_WORKSPACE_HISTORYstatic String
CURRENT_VERSION
current version of webCAT, automatically read from src/main/resources/version.pref and set via maven resource filteringstatic boolean
CURRENT_VERSION_IS_RELEASE
determines, if current build is a release build.static int
DEFAULT_BUFFER_SIZE
default buffer size for copying stuffstatic String
FEEDBACK_URL
Link to a feedback formstatic Set<String>
FILENAME_BLACKLIST
Blacklist of file namesstatic String
HASH_ALGO
Hash Algo for generating temp idsstatic long
LOCK_ARCHIVE_TIMEOUT
Timeout for locks on archivesstatic String
NEW_ARCHIVE_NAME
Default name for new combine archivesstatic String
PROP_ARCHIVE_PRE
static String
PROP_LASTSEEN_PRE
static String
PROP_SEPARATOR
static String
PROP_SEPARATOR_REGEX
static String
PROP_WORKSPACE_PRE
static long
QUOTA_ARCHIVE_LIMIT
Maximum number of archives in a workspace.static long
QUOTA_ARCHIVE_SIZE
Maximum size of one archive in bytes.static long
QUOTA_FILE_LIMIT
Maximum number of files in an archive.static long
QUOTA_TOTAL_SIZE
Maximum size in bytes of all workspaces together.static long
QUOTA_UNLIMITED
Value for unlimited quota.static long
QUOTA_UPLOAD_SIZE
Maximum file size for uploads.static long
QUOTA_WORKSPACE_AGE
Maximum time in seconds a workspace can be left unused, before deletion.static long
QUOTA_WORKSPACE_SIZE
Maximum size in bytes of all archives in one workspaces together.static String
SEDML_WEBTOOLS_URL
Link to the sedML WebTools for starting a simulationstatic File
SETTINGS_FILE
static String
SETTINGS_FILE_NAME
static long
STATS_MAX_AGE
max time for caching statistic datastatic boolean
STATS_PUBLIC
switch the open stats page on or off, also limits the access to the rest-endpoint, when set to falsestatic String
STATS_SECRET
is set to something != null, it enables the full access to all stats, when added as URL-Parameterstatic File
STORAGE
The Constant STORAGE.static long
STORAGE_AGE
minimum time after that the settings should be stored in msstatic String
TEMP_FILE_PREFIX
Prefix for temp files
-
Constructor Summary
Constructors Constructor Description Fields()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
loadSettingsFromContext(javax.servlet.ServletContext context)
-
-
-
Field Detail
-
COOKIE_USER
public static final String COOKIE_USER
The Constant COOKIE_USER. Stores serialized user data on the client- See Also:
- Constant Field Values
-
COOKIE_PATH
public static final String COOKIE_PATH
The Constant COOKIE_PATH.- See Also:
- Constant Field Values
-
COOKIE_WORKSPACE_HISTORY
public static final String COOKIE_WORKSPACE_HISTORY
The Constant COOKIE_WORKSPACE_HISTORY- See Also:
- Constant Field Values
-
SETTINGS_FILE_NAME
public static final String SETTINGS_FILE_NAME
- See Also:
- Constant Field Values
-
STORAGE
public static File STORAGE
The Constant STORAGE.
-
SETTINGS_FILE
public static File SETTINGS_FILE
-
COOKIE_AGE
public static final int COOKIE_AGE
The Constant COOKIE_AGE.- See Also:
- Constant Field Values
-
PROP_ARCHIVE_PRE
public static final String PROP_ARCHIVE_PRE
- See Also:
- Constant Field Values
-
PROP_WORKSPACE_PRE
public static final String PROP_WORKSPACE_PRE
- See Also:
- Constant Field Values
-
PROP_LASTSEEN_PRE
public static final String PROP_LASTSEEN_PRE
- See Also:
- Constant Field Values
-
PROP_SEPARATOR
public static final String PROP_SEPARATOR
- See Also:
- Constant Field Values
-
PROP_SEPARATOR_REGEX
public static final String PROP_SEPARATOR_REGEX
- See Also:
- Constant Field Values
-
STORAGE_AGE
public static final long STORAGE_AGE
minimum time after that the settings should be stored in ms- See Also:
- Constant Field Values
-
TEMP_FILE_PREFIX
public static final String TEMP_FILE_PREFIX
Prefix for temp files- See Also:
- Constant Field Values
-
HASH_ALGO
public static final String HASH_ALGO
Hash Algo for generating temp ids- See Also:
- Constant Field Values
-
CHARSET
public static final String CHARSET
The charset for all http related interactions- See Also:
- Constant Field Values
-
DEFAULT_BUFFER_SIZE
public static final int DEFAULT_BUFFER_SIZE
default buffer size for copying stuff- See Also:
- Constant Field Values
-
LOCK_ARCHIVE_TIMEOUT
public static final long LOCK_ARCHIVE_TIMEOUT
Timeout for locks on archives- See Also:
- Constant Field Values
-
NEW_ARCHIVE_NAME
public static final String NEW_ARCHIVE_NAME
Default name for new combine archives- See Also:
- Constant Field Values
-
SEDML_WEBTOOLS_URL
public static String SEDML_WEBTOOLS_URL
Link to the sedML WebTools for starting a simulation
-
FEEDBACK_URL
public static String FEEDBACK_URL
Link to a feedback form
-
STATS_MAX_AGE
public static long STATS_MAX_AGE
max time for caching statistic data
-
STATS_PUBLIC
public static boolean STATS_PUBLIC
switch the open stats page on or off, also limits the access to the rest-endpoint, when set to false
-
STATS_SECRET
public static String STATS_SECRET
is set to something != null, it enables the full access to all stats, when added as URL-Parameter
-
CURRENT_VERSION
public static String CURRENT_VERSION
current version of webCAT, automatically read from src/main/resources/version.pref and set via maven resource filtering
-
CURRENT_VERSION_IS_RELEASE
public static boolean CURRENT_VERSION_IS_RELEASE
determines, if current build is a release build. see CURRENT_VERSION
-
ALLOW_SHARING_HISTORY
public static boolean ALLOW_SHARING_HISTORY
allows to share the entire workspace history, this does not effect the UI, but enables the /share/history endpoint, which is used by the migration PHP script. Disabled by default.
-
QUOTA_UNLIMITED
public static final long QUOTA_UNLIMITED
Value for unlimited quota. Not a quota by itself- See Also:
- Constant Field Values
-
QUOTA_TOTAL_SIZE
public static long QUOTA_TOTAL_SIZE
Maximum size in bytes of all workspaces together. 0 means unlimited
-
QUOTA_WORKSPACE_SIZE
public static long QUOTA_WORKSPACE_SIZE
Maximum size in bytes of all archives in one workspaces together. 0 means unlimited
-
QUOTA_WORKSPACE_AGE
public static long QUOTA_WORKSPACE_AGE
Maximum time in seconds a workspace can be left unused, before deletion. 0 means unlimited
-
QUOTA_ARCHIVE_SIZE
public static long QUOTA_ARCHIVE_SIZE
Maximum size of one archive in bytes. 0 means unlimited
-
QUOTA_ARCHIVE_LIMIT
public static long QUOTA_ARCHIVE_LIMIT
Maximum number of archives in a workspace. 0 means unlimited
-
QUOTA_FILE_LIMIT
public static long QUOTA_FILE_LIMIT
Maximum number of files in an archive. 0 means unlimited
-
QUOTA_UPLOAD_SIZE
public static long QUOTA_UPLOAD_SIZE
Maximum file size for uploads. 0 means unlimited
-
-