planka-register/settings.dist.ini
Kumi 89825cf85c
feat: Enhance app config and user feedback
Introduced changes to `app.py` and templates to enhance application configuration options, improve user feedback mechanisms, and bolster security practices. Key updates include:

- Expanded Flask's configuration based on `settings.ini`, enabling `debug` mode and applying `ProxyFix` middleware conditionally to support reverse proxy setups.
- Extended the functionality to include dynamic footer links, sourced from the configuration file, across all relevant templates. This contributes to a more dynamic and maintainable web interface.
- Adjusted the rate limiting functionality from a 1-hour to a 1-day window, offering a more lenient and user-friendly request limitation system.
- Implemented an error handling flow for user creation in Planka, providing clearer feedback when password requirements are not met, thus enhancing the user signup experience.
- Added a new cron route for cleaning up stale requests from the database, aligning data retention practices with privacy concerns.

These changes aim to provide a more configurable, user-friendly, and secure application, addressing feedback and evolving requirements.
2024-04-26 09:45:43 +02:00

29 lines
733 B
INI

[App]
# Name of the app
Name = Private.coffee Planka
# Hostname of the app - the app always assumes that HTTPS is used
Host = register.planka.private.coffee
# Set to 1 if you are using a reverse proxy in front of the app
ProxyFix = 1
[SMTP]
# SMTP server settings
Host = mail.local
Port = 587
Username = planka@mail.local
Password = verysecurepassword
SSL = 1 # Set to 0 if you are not using SSL/TLS
STARTTLS = 1 # Set to 0 if you are not using STARTTLS
[Planka]
# URL and credentials for the Planka instance
URL = https://planka.local
Username = admin@mail.local
Password = extremelysecurepassword
[Footer]
Website = https://private.coffee
Legal = https://private.coffee/legal.html
Privacy = https://private.coffee/privacy.html