Yobi did not handle some cases correctly about config files.
* Fix a bug that the config files specified by user are ignored; In the
case, do not create the files by default even if they don't exist.
* Do not update application.secret if the config file is out of conf
directory. The file may not be Yobi's.
* Tell the user to update application.secret if Yobi failed to update
it.
* Refactoring: Move members for config files into the ConfigFile inner
class
This reverts commit 53920e0.
Copying and creating application.conf from application.conf.default was
done while building but it does not work for standalone distribution
because it does not contain conf directory. The process should be done
at the first starting of Yobi.
Problem: When using a Standalone distribution created by Playframework
2, config files, application.conf and application-logger.xml, in conf
directory are ignored because the distribution has config files in jar
file and use them instead of conf directory.
Solution: Add some lines of shell script into the startup script to set
config files explicitly by "-Dconfig.file" and "-Dlogger.file" so that
Yobi uses them.
from pull-request 1509
* refs/heads/feature/mailbox:
mailbox: Rename notConfiguredKeys to missingKeys
mailbox: Polish comment of getNotConfiguredKeys
mailbox: Extract constants from configuration keys
mailbox: Fix NPE if imap.use is not defined
Reviewed-by: 채수원
This refactoring makes:
* finding where a configuration value is used eaiser.
* getting configuration value simple by binding each key with the type
and the default value.
Note: Unchecked casting is unavoidable because typesafehub/config, the
underlying configuration library for PlayFramework, is not type-safe.
from pull-request 1514
* refs/heads/fix/incorrectly-selected-branch:
code: Do not show selected branch for a commit
code: Rename getBranchNames() to getRefNames()
Reviewed-by: 백기선
from pull-request 1495
* refs/heads/fix/accept-ko-kr:
Update backward compatibility notes for 0.8.0
Fix messages are not shown in preferred language
Reviewed-by: 채수원