| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288 |
- ###############################################################################
- # hibernate.dialect <Hibernate Dialect class name>
- #
- # The Hibernate dialect that matches the database you're using with iEat.
- #
- # Postgres: org.hibernate.dialect.PostgreSQLDialect
- # MySQL: org.hibernate.dialect.MySQLDialect
- hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
- ###############################################################################
- # hibernate.show_sql <boolean>
- #
- # Set to 'true' to enable Hibernate SQL debugging.
- hibernate.show_sql=false
- ###############################################################################
- # recipe.image.base.path <directory path>
- #
- # The path to a directory that the application will manage the uploaded
- # recipe images. This directory must allow write access to the user or group
- # the application runs as, as it will try to create image file here.
- recipe.image.base.path=/data/ieat-images
- ###############################################################################
- # recipe.image.base.url <relative url>
- #
- # A URL, relative to the ieat webapp URL, to serve images from. Image URLs
- # will be constructed by appending the image name to this path. For example
- # for a recipe image named "123.jpg" and a recipe.image.base.url of "/img/"
- # and a web context of "/ieat" then the image URL will be "/ieat/img/123.jpg".
- recipe.image.base.url=/img/
- ###############################################################################
- # lucene.index.base.path <directory path>
- #
- # The path to a directory that the application will manage the Lucene search
- # indices. This directory must allow write access to the user or group the
- # application runs as, as it will try to create directories and files here.
- lucene.index.base.path=/var/ieat/lucene-index
- ###############################################################################
- # lucene.index.optimize.trigger <int>
- #
- # The number of items to index before triggering a Lucene index optimization.
- lucene.index.optimize.trigger=50
- ###############################################################################
- # lucene.index.optimize.never <boolean>
- #
- # If true, then never try to optimize the Lucene index for searches. If false
- # then allow optimizing according to normal parameters (including after re-
- # indexing an entire index.
- lucene.index.optimize.never=false
- ###############################################################################
- # lucene.update.buffer.size <int>
- #
- # The number of index update requests to buffer before actually performing the
- # index requests. This has the effect of "batch" indexing, and if set to the
- # value of 1 this mode will be disabled and index requests will occur as they
- # arrive to the index service.
- lucene.update.buffer.size=1
- ###############################################################################
- # lucene.update.buffer.flush <milliseconds>
- #
- # This sets the number of milliseconds the index buffers will be flushed,
- # i.e. any unprocessed items will be indexed even if the index buffer is not
- # full. Any value greater than 0 will cause the application to flush the
- # buffers after that many milliseconds has past. Setting this greater than
- # 0 only makes sense if index.update.buffer.size is also set to something
- # greater than 1, since when then buffer size is 1 there will really isn't
- # a "buffer" to flush.
- lucene.update.buffer.flush=0
- ###############################################################################
- # lucene.snowball.stemmer.name <name>
- #
- # The Lucene Snowball stemmer name to use, i.e. language to support.
- # See the Lucene JavaDocs on org.apache.lucene.analysis.snowball.SnowballFilter
- # for the available languages and more information.
- lucene.snowball.stemmer.name=English
- ###############################################################################
- # index.timezone.java <time zone>
- # index.timezone.sql <time zone>
- #
- # Set these to the time zone to use in the index. The index.timezone.java is
- # to be used in getting java.util.TimeZone instances, and should be set to a
- # time zone offet from GMT so as not to make use of daylight savings time. The
- # index.timezone.sql should be set to the same time zone, but in a format
- # recognized by the backend database (or JDBC driver) for executing SQL using
- # the same time zone as used by the index.
- index.timezone.java=GMT+12
- index.timezone.sql=+12
- ###############################################################################
- # crypto.salt <string>
- #
- # The "salt" used for encrypting passwords. Set this to a random string of
- # characters as desired, but beware the more characters used the longer the
- # encrypted passwords will become and they can end up loger than the default
- # database column width defined for user passwords. Around 20 characters is a
- # good maximum to keep in mind. If you don't want to use any salt then set this
- # to an empty value.
- crypto.salt=#$8e#&*fJ39eJE(3j#E()
- ###############################################################################
- # crypto.provider <string>
- #
- # The JCE provider to use. The default one included with Java is 'SunJCE'.
- # Only change this if you want to use a different provider (for example to use
- # a different encryption scheme).
- crypto.provider=SunJCE
- ###############################################################################
- # crypto.key.type <string>
- #
- # The JCE secret key type used for password-based encryption schemes. For
- # example: 'PBEWithMD5AndDES'. Also see the crypto.pge.salt property.
- crypto.key.type=PBEWithMD5AndDES
- ###############################################################################
- # crypto.cipher.type <string>
- #
- # The JCE cipher to use for encryption. For example: 'PBEWithMD5AndDES'
- crypto.cipher.type=PBEWithMD5AndDES
- ###############################################################################
- # crypto.key <string>
- #
- # The password to use for password-based encryption.
- crypto.key=34i.X34U(#*=>jys
- ###############################################################################
- # crypto.pbe.salt <string>
- #
- # The salt to use for password-based encryption schemes. The encryption
- # scheme may have specific length requirements. For example the
- # PBEWithMD5AndDES key type requires an 8-byte salt length.
- crypto.pbe.salt=|'dk;P~s
- ###############################################################################
- # smtp.host <inet host>
- #
- # The SMTP server to use for sending mail messages to. Note that be default
- # iEat is configured to lookup a javax.mail.Session from JNDI and this
- # property will not be used. It is used, however, by the JUnit test cases.
- smtp.host=localhost
- ###############################################################################
- # mail.from <email>
- #
- # The email address to send mail from.
- mail.from=ieat@localhost.local
- ###############################################################################
- # url.registration.confirm <url>
- #
- # The relative URL to confirm an account registration. This URL should inlcude
- # two variables: $[user.login] to hold the login of the user being confirmed,
- # and $[result] for the confirmation code. For example:
- # '/confirmAccount.do?login=$[user.login]&code=$[result]'. If you set up
- # an Apache rewrite rule, you can shorten this URL, for example
- # '/confirm/$[user.login]/$[result]'.
- url.registration.confirm=/confirmAccount.do?login=$[user.login]&code=$[result]
- ###############################################################################
- # url.welcome <url>
- #
- # The relative URL to use in the welcome email template. Typically this will
- # just be the home page.
- url.welcome=/home.do
- ###############################################################################
- # url.forgot-password.confirm <url>
- #
- # The relative URL to confirm a forgotten password. This URL should inlcude
- # two variables: $[user.login] to hold the login of the user being confirmed,
- # and $[result] for the confirmation code. For example:
- # '/confirmForgotPassword.do?login=$[user.login]&code=$[result]'. If you set up
- # an Apache rewrite rule, you can shorten this URL, for example
- # '/confirmPassword/$[user.login]/$[result]'.
- url.forgot-password.confirm=/confirmForgotPassword.do?login=$[user.login]&code=$[result]
- ###############################################################################
- # xslt.cache <boolean>
- #
- # Set to 'false' to help debug XSLT changes, so each request to an XSLT view
- # will cause the XSLT templates to be reloaded. This is not thread-safe and
- # not recommended for a production environment, but is useful when doing
- # development on XSLT views.
- xslt.cache=true
- ###############################################################################
- # feature.registration <boolean>
- #
- # Set to 'true' to enable user self-registration. Set to 'false' to disable
- # this feature; you will have to create users manually by logging in as an
- # admin user.
- feature.registration=true
- ###############################################################################
- # feature.anonymous <boolean>
- #
- # Set to 'true' to enable anonymous users to browse and search for recipes.
- # Set to 'false' to disable this feature; users will have to have a valid
- # account and login in order to do anything.
- feature.anonymous=true
- ###############################################################################
- # feature.comments <boolean>
- #
- # Set to 'true' to enable the viewing and adding of recipe comments. Comments
- # can be viewed by anonymous users but only logged in users can add comments.
- # Set to 'false' to disable this feature, so viewing and adding comments will
- # not be available.
- feature.comments=true
- ###############################################################################
- # feature.recipeimages <boolean>
- #
- # Set to 'true' to enable the uploading and management of image files
- # associated with recipes. This requires the applicaiton have write-access
- # to the directory defined by the recipe.image.base.path property.
- feature.recipeimages=true
- ###############################################################################
- # setup.requireadmin <boolean>
- #
- # Set to 'true' to require a logged-in admin user to access the setup wizard.
- # When the setup wizard completes it will change this property to 'true' in
- # the database so people can not simply re-configure iEat by going to the
- # setup URL. When first deploying this app this should remain false to allow
- # inital setup of the application.
- setup.requireadmin=false
|