"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/java/com/openkm/core/Config.java" between
OpenKM-document-management-system-6.3.10.tar.gz and OpenKM-document-management-system-6.3.11.tar.gz

About: OpenKM (Knowledge Management) is a document management system that allows easy management of documents, users, roles and finding your enterprise documents and records. Community version (source code).

Config.java  (OpenKM-document-management-system-6.3.10):Config.java  (OpenKM-document-management-system-6.3.11)
skipping to change at line 290 skipping to change at line 290
public static final String PROPERTY_HIBERNATE_CREATE_AUTOFIX = "hibernate .create.autofix"; public static final String PROPERTY_HIBERNATE_CREATE_AUTOFIX = "hibernate .create.autofix";
public static final String PROPERTY_HIBERNATE_INDEXER_MASS_INDEXER = "hib ernate.indexer.mass.indexer"; public static final String PROPERTY_HIBERNATE_INDEXER_MASS_INDEXER = "hib ernate.indexer.mass.indexer";
public static final String PROPERTY_HIBERNATE_INDEXER_BATCH_SIZE_LOAD_OBJ ECTS = "hibernate.indexer.batch.size.load.objects"; public static final String PROPERTY_HIBERNATE_INDEXER_BATCH_SIZE_LOAD_OBJ ECTS = "hibernate.indexer.batch.size.load.objects";
public static final String PROPERTY_HIBERNATE_INDEXER_THREADS_SUBSEQUENT_ FETCHING = "hibernate.indexer.threads.subsequent.fetching"; public static final String PROPERTY_HIBERNATE_INDEXER_THREADS_SUBSEQUENT_ FETCHING = "hibernate.indexer.threads.subsequent.fetching";
public static final String PROPERTY_HIBERNATE_INDEXER_THREADS_LOAD_OBJECT S = "hibernate.indexer.threads.load.objects"; public static final String PROPERTY_HIBERNATE_INDEXER_THREADS_LOAD_OBJECT S = "hibernate.indexer.threads.load.objects";
public static final String PROPERTY_HIBERNATE_INDEXER_THREADS_INDEX_WRITE R = "hibernate.indexer.threads.index.writer"; public static final String PROPERTY_HIBERNATE_INDEXER_THREADS_INDEX_WRITE R = "hibernate.indexer.threads.index.writer";
// Hibernate Search indexes // Hibernate Search indexes
public static String PROPERTY_HIBERNATE_SEARCH_INDEX_HOME = "hibernate.se arch.index.home"; public static String PROPERTY_HIBERNATE_SEARCH_INDEX_HOME = "hibernate.se arch.index.home";
public static String PROPERTY_HIBERNATE_SEARCH_INDEX_EXCLUSIVE = "hiberna te.search.index.exclusive"; public static String PROPERTY_HIBERNATE_SEARCH_INDEX_EXCLUSIVE = "hiberna te.search.index.exclusive";
public static String PROPERTY_HIBERNATE_SEARCH_WORKER_EXECUTION = "hibern
ate.search.worker.execution";
public static String PROPERTY_HIBERNATE_SEARCH_WORKER_THREAD_POOL_SIZE =
"hibernate.search.worker.thread.pool.size";
public static String PROPERTY_HIBERNATE_SEARCH_WORKER_BUFFER_QUEUE_MAX = "hi
bernate.search.worker.buffer.queue.max";
// Logo icons & login texts // Logo icons & login texts
public static final String PROPERTY_TEXT_BANNER = "text.banner"; public static final String PROPERTY_TEXT_BANNER = "text.banner";
public static final String PROPERTY_TEXT_WELCOME = "text.welcome"; public static final String PROPERTY_TEXT_WELCOME = "text.welcome";
public static final String PROPERTY_TEXT_TITLE = "text.title"; public static final String PROPERTY_TEXT_TITLE = "text.title";
public static final String PROPERTY_LOGO_TINY = "logo.tiny"; public static final String PROPERTY_LOGO_TINY = "logo.tiny";
public static final String PROPERTY_LOGO_LOGIN = "logo.login"; public static final String PROPERTY_LOGO_LOGIN = "logo.login";
public static final String PROPERTY_LOGO_MOBILE = "logo.mobile"; public static final String PROPERTY_LOGO_MOBILE = "logo.mobile";
public static final String PROPERTY_LOGO_REPORT = "logo.report"; public static final String PROPERTY_LOGO_REPORT = "logo.report";
public static final String PROPERTY_LOGO_FAVICON = "logo.favicon"; public static final String PROPERTY_LOGO_FAVICON = "logo.favicon";
skipping to change at line 583 skipping to change at line 586
public static boolean HIBERNATE_INDEXER_MASS_INDEXER = false; public static boolean HIBERNATE_INDEXER_MASS_INDEXER = false;
public static int HIBERNATE_INDEXER_BATCH_SIZE_LOAD_OBJECTS = 30; public static int HIBERNATE_INDEXER_BATCH_SIZE_LOAD_OBJECTS = 30;
public static int HIBERNATE_INDEXER_THREADS_SUBSEQUENT_FETCHING = 8; public static int HIBERNATE_INDEXER_THREADS_SUBSEQUENT_FETCHING = 8;
public static int HIBERNATE_INDEXER_THREADS_LOAD_OBJECTS = 4; public static int HIBERNATE_INDEXER_THREADS_LOAD_OBJECTS = 4;
public static int HIBERNATE_INDEXER_THREADS_INDEX_WRITER = 3; public static int HIBERNATE_INDEXER_THREADS_INDEX_WRITER = 3;
// Hibernate Search indexes // Hibernate Search indexes
public static String HIBERNATE_SEARCH_INDEX_HOME; public static String HIBERNATE_SEARCH_INDEX_HOME;
public static String HIBERNATE_SEARCH_INDEX_DIRNAME = "index"; public static String HIBERNATE_SEARCH_INDEX_DIRNAME = "index";
public static String HIBERNATE_SEARCH_INDEX_EXCLUSIVE = "true"; public static String HIBERNATE_SEARCH_INDEX_EXCLUSIVE = "true";
public static String HIBERNATE_SEARCH_WORKER_EXECUTION = "sync";
public static String HIBERNATE_SEARCH_WORKER_THREAD_POOL_SIZE = "1";
public static String HIBERNATE_SEARCH_WORKER_BUFFER_QUEUE_MAX = "256";
// Logo icons and login texts // Logo icons and login texts
public static String TEXT_BANNER; public static String TEXT_BANNER;
public static String TEXT_WELCOME; public static String TEXT_WELCOME;
public static String TEXT_TITLE; public static String TEXT_TITLE;
public static ConfigStoredFile LOGO_TINY; public static ConfigStoredFile LOGO_TINY;
public static ConfigStoredFile LOGO_LOGIN; public static ConfigStoredFile LOGO_LOGIN;
public static ConfigStoredFile LOGO_MOBILE; public static ConfigStoredFile LOGO_MOBILE;
public static ConfigStoredFile LOGO_REPORT; public static ConfigStoredFile LOGO_REPORT;
public static ConfigStoredFile LOGO_FAVICON; public static ConfigStoredFile LOGO_FAVICON;
skipping to change at line 710 skipping to change at line 716
HIBERNATE_SHOW_SQL = config.getProperty(PROPERTY_HIBERNAT E_SHOW_SQL, HIBERNATE_SHOW_SQL); HIBERNATE_SHOW_SQL = config.getProperty(PROPERTY_HIBERNAT E_SHOW_SQL, HIBERNATE_SHOW_SQL);
values.put(PROPERTY_HIBERNATE_SHOW_SQL, HIBERNATE_SHOW_SQ L); values.put(PROPERTY_HIBERNATE_SHOW_SQL, HIBERNATE_SHOW_SQ L);
HIBERNATE_STATISTICS = config.getProperty(PROPERTY_HIBERN ATE_STATISTICS, HIBERNATE_STATISTICS); HIBERNATE_STATISTICS = config.getProperty(PROPERTY_HIBERN ATE_STATISTICS, HIBERNATE_STATISTICS);
values.put(PROPERTY_HIBERNATE_STATISTICS, HIBERNATE_STATI STICS); values.put(PROPERTY_HIBERNATE_STATISTICS, HIBERNATE_STATI STICS);
HIBERNATE_SEARCH_ANALYZER = config.getProperty(PROPERTY_H IBERNATE_SEARCH_ANALYZER, HIBERNATE_SEARCH_ANALYZER); HIBERNATE_SEARCH_ANALYZER = config.getProperty(PROPERTY_H IBERNATE_SEARCH_ANALYZER, HIBERNATE_SEARCH_ANALYZER);
values.put(PROPERTY_HIBERNATE_SEARCH_ANALYZER, HIBERNATE_ SEARCH_ANALYZER); values.put(PROPERTY_HIBERNATE_SEARCH_ANALYZER, HIBERNATE_ SEARCH_ANALYZER);
HIBERNATE_CREATE_AUTOFIX = config.getProperty(PROPERTY_HI BERNATE_CREATE_AUTOFIX, HIBERNATE_CREATE_AUTOFIX); HIBERNATE_CREATE_AUTOFIX = config.getProperty(PROPERTY_HI BERNATE_CREATE_AUTOFIX, HIBERNATE_CREATE_AUTOFIX);
values.put(PROPERTY_HIBERNATE_CREATE_AUTOFIX, HIBERNATE_C REATE_AUTOFIX); values.put(PROPERTY_HIBERNATE_CREATE_AUTOFIX, HIBERNATE_C REATE_AUTOFIX);
HIBERNATE_SEARCH_INDEX_EXCLUSIVE = config.getProperty(PRO PERTY_HIBERNATE_SEARCH_INDEX_EXCLUSIVE, HIBERNATE_SEARCH_INDEX_EXCLUSIVE); HIBERNATE_SEARCH_INDEX_EXCLUSIVE = config.getProperty(PRO PERTY_HIBERNATE_SEARCH_INDEX_EXCLUSIVE, HIBERNATE_SEARCH_INDEX_EXCLUSIVE);
values.put(PROPERTY_HIBERNATE_SEARCH_INDEX_EXCLUSIVE, HIB ERNATE_SEARCH_INDEX_EXCLUSIVE); values.put(PROPERTY_HIBERNATE_SEARCH_INDEX_EXCLUSIVE, HIB ERNATE_SEARCH_INDEX_EXCLUSIVE);
HIBERNATE_SEARCH_WORKER_EXECUTION = config.getProperty(PR
OPERTY_HIBERNATE_SEARCH_WORKER_EXECUTION, HIBERNATE_SEARCH_WORKER_EXECUTION);
values.put(PROPERTY_HIBERNATE_SEARCH_WORKER_EXECUTION, HI
BERNATE_SEARCH_WORKER_EXECUTION);
HIBERNATE_SEARCH_WORKER_THREAD_POOL_SIZE = config.getProp
erty(PROPERTY_HIBERNATE_SEARCH_WORKER_THREAD_POOL_SIZE, HIBERNATE_SEARCH_WORKER_
THREAD_POOL_SIZE);
values.put(PROPERTY_HIBERNATE_SEARCH_WORKER_THREAD_POOL_S
IZE, HIBERNATE_SEARCH_WORKER_THREAD_POOL_SIZE);
HIBERNATE_SEARCH_WORKER_BUFFER_QUEUE_MAX = config.getProp
erty(PROPERTY_HIBERNATE_SEARCH_WORKER_BUFFER_QUEUE_MAX, HIBERNATE_SEARCH_WORKER_
BUFFER_QUEUE_MAX);
values.put(PROPERTY_HIBERNATE_SEARCH_WORKER_BUFFER_QUEUE_
MAX, HIBERNATE_SEARCH_WORKER_BUFFER_QUEUE_MAX);
// Cloud // Cloud
CLOUD_MODE = "on".equalsIgnoreCase(config.getProperty(PRO PERTY_CLOUD_MODE, "off")); CLOUD_MODE = "on".equalsIgnoreCase(config.getProperty(PRO PERTY_CLOUD_MODE, "off"));
values.put(PROPERTY_CLOUD_MODE, Boolean.toString(CLOUD_MO DE)); values.put(PROPERTY_CLOUD_MODE, Boolean.toString(CLOUD_MO DE));
CLOUD_MAX_REPOSITORY_SIZE = FormatUtil.parseSize(config.g etProperty(PROPERTY_CLOUD_MAX_REPOSITORY_SIZE, "0")); CLOUD_MAX_REPOSITORY_SIZE = FormatUtil.parseSize(config.g etProperty(PROPERTY_CLOUD_MAX_REPOSITORY_SIZE, "0"));
values.put(PROPERTY_CLOUD_MAX_REPOSITORY_SIZE, Long.toStr ing(CLOUD_MAX_REPOSITORY_SIZE)); values.put(PROPERTY_CLOUD_MAX_REPOSITORY_SIZE, Long.toStr ing(CLOUD_MAX_REPOSITORY_SIZE));
CLOUD_MAX_USERS = Integer.parseInt(config.getProperty(PRO PERTY_CLOUD_MAX_USERS, "0")); CLOUD_MAX_USERS = Integer.parseInt(config.getProperty(PRO PERTY_CLOUD_MAX_USERS, "0"));
values.put(PROPERTY_CLOUD_MAX_USERS, Integer.toString(CLO UD_MAX_USERS)); values.put(PROPERTY_CLOUD_MAX_USERS, Integer.toString(CLO UD_MAX_USERS));
SYSTEM_MULTIPLE_INSTANCES = "on".equalsIgnoreCase(config. getProperty(PROPERTY_SYSTEM_MULTIPLE_INSTANCES, "off")); SYSTEM_MULTIPLE_INSTANCES = "on".equalsIgnoreCase(config. getProperty(PROPERTY_SYSTEM_MULTIPLE_INSTANCES, "off"));
skipping to change at line 867 skipping to change at line 879
WEBSERVICES_VISIBLE_PROPERTIES = ConfigDAO.getList(PROPER TY_WEBSERVICES_VISIBLE_PROPERTIES, PROPERTY_RESTRICT_FILE_NAME); WEBSERVICES_VISIBLE_PROPERTIES = ConfigDAO.getList(PROPER TY_WEBSERVICES_VISIBLE_PROPERTIES, PROPERTY_RESTRICT_FILE_NAME);
values.put(PROPERTY_WEBSERVICES_VISIBLE_PROPERTIES, Strin g.valueOf(WEBSERVICES_VISIBLE_PROPERTIES)); values.put(PROPERTY_WEBSERVICES_VISIBLE_PROPERTIES, Strin g.valueOf(WEBSERVICES_VISIBLE_PROPERTIES));
// Set max search clauses // Set max search clauses
BooleanQuery.setMaxClauseCount(MAX_SEARCH_CLAUSES); BooleanQuery.setMaxClauseCount(MAX_SEARCH_CLAUSES);
// Text extractors // Text extractors
REGISTERED_TEXT_EXTRACTORS = ConfigDAO.getList(PROPERTY_R EGISTERED_TEXT_EXTRACTORS, DEFAULT_REGISTERED_TEXT_EXTRACTORS); REGISTERED_TEXT_EXTRACTORS = ConfigDAO.getList(PROPERTY_R EGISTERED_TEXT_EXTRACTORS, DEFAULT_REGISTERED_TEXT_EXTRACTORS);
values.put(PROPERTY_REGISTERED_TEXT_EXTRACTORS, String.va lueOf(REGISTERED_TEXT_EXTRACTORS)); values.put(PROPERTY_REGISTERED_TEXT_EXTRACTORS, String.va lueOf(REGISTERED_TEXT_EXTRACTORS));
RegisteredExtractors.init();
// Workflow // Workflow
WORKFLOW_RUN_CONFIG_FORM = ConfigDAO.getString(PROPERTY_W ORKFLOW_RUN_CONFIG_FORM, WORKFLOW_RUN_CONFIG_FORM); WORKFLOW_RUN_CONFIG_FORM = ConfigDAO.getString(PROPERTY_W ORKFLOW_RUN_CONFIG_FORM, WORKFLOW_RUN_CONFIG_FORM);
values.put(PROPERTY_WORKFLOW_RUN_CONFIG_FORM, WORKFLOW_RU N_CONFIG_FORM); values.put(PROPERTY_WORKFLOW_RUN_CONFIG_FORM, WORKFLOW_RU N_CONFIG_FORM);
WORKFLOW_START_TASK_AUTO_RUN = ConfigDAO.getBoolean(PROPE RTY_WORKFLOW_START_TASK_AUTO_RUN, WORKFLOW_START_TASK_AUTO_RUN); WORKFLOW_START_TASK_AUTO_RUN = ConfigDAO.getBoolean(PROPE RTY_WORKFLOW_START_TASK_AUTO_RUN, WORKFLOW_START_TASK_AUTO_RUN);
values.put(PROPERTY_WORKFLOW_START_TASK_AUTO_RUN, Boolean .toString(WORKFLOW_START_TASK_AUTO_RUN)); values.put(PROPERTY_WORKFLOW_START_TASK_AUTO_RUN, Boolean .toString(WORKFLOW_START_TASK_AUTO_RUN));
// Principal // Principal
PRINCIPAL_ADAPTER = ConfigDAO.getString(PROPERTY_PRINCIPA L_ADAPTER, PRINCIPAL_ADAPTER); PRINCIPAL_ADAPTER = ConfigDAO.getString(PROPERTY_PRINCIPA L_ADAPTER, PRINCIPAL_ADAPTER);
values.put(PROPERTY_PRINCIPAL_ADAPTER, PRINCIPAL_ADAPTER) ; values.put(PROPERTY_PRINCIPAL_ADAPTER, PRINCIPAL_ADAPTER) ;
 End of changes. 4 change blocks. 
1 lines changed or deleted 23 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)