How to Set Up Application Properties
You can configure application properties by opening $OXYGEN_FEEDBACK_HOME_DIR/config/feedback-application.properties and setting the following:
- Application Host URL
-
The server URL where the application will be deployed. It must contain the protocol and port and it will be used in the email notifications:
feedback.server.host.url=http://example.com
- Image Upload Configuration
-
Image upload allowed extensions:
feedback.upload.extensions=jpg,jpeg,png,gif
- Comment Configuration
-
Sets the limit of how many characters a comment can have.
feedback.max.comment.character.size=10000
Sets the number of days that a deleted comment can be restored. After that, the comment is permanently deleted.
feedback.comment.expiration.period=30
- Accounts Management Configuration
-
Sets the number of hours that a newly created account can be activated before it expires.
feedback.account.expiration.period=24
Sets the number of days that a deleted account can be recovered.
feedback.account.termination.period=14
- Role Change Settings
-
Sets the number of hours that a site ownership transfer is valid. If the transfer is not accepted within that time, it will automatically be cancelled:
feedback.valid.transfer.site.ownership.period=24
Sets the number of days that a role change is pending. If not accepted within that time, it will automatically be cancelled.
feedback.valid.role.change.period=1
- Cross-Domain Cookies Settings
-
Controls whether or not the Feedback server sets the
SameSite=None
attribute on the cookies sent to the client.If the application is configured to run on HTTP, then this property should be set to false for the login to work properly.feedback.cookie.samesite.none=true