aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/conf-templates
AgeCommit message (Collapse)AuthorFilesLines
2020-09-27sqlalchemy database uri needs for '/' for local filesGlandos1-1/+1
fix #672
2020-08-23Update apache-vhost config generation (#673)Kobus van Schoor1-2/+1
The current configuration generated uses the old syntax for Apache access control. Use the new syntax for Apache 2.4 that is widely used now.
2018-07-16Fix Apache conf template, without relying on environment var (#359)JocelynDelalande1-1/+1
`python-home` is prefered over `python-path`. It will work with or without a virtualenv. See http://modwsgi.readthedocs.io/en/develop/configuration-directives/WSGIDaemonProcess.html
2018-01-14Use Jinja2 strict rendering.Alexis Métaireau1-2/+1
For this I had to create an Jinja2 explicit environment, so I put a function in `ihatemoney.utils.create_jinja2_env(strict_rendering=False)`. When using this environment and if `strict_rendering` is activated, templates using undefined variables will now error out rather than failing silently.
2018-01-14Fix the supervisord template.Alexis Métaireau1-1/+1
The script was relying on the presence of an environment variable, which is only set when the virtualenv is activated. But a virtualenv does not have to be activated to work (it's possible to call the python command directly). This fixes it by relying on `sys.executable` which should be correct at all times. Fixes #306
2018-01-05Enable basic auth passthrough for API (#303)donkers1-0/+1
* Enable basic auth passthrough for API Added the couple of apache configuration lines necessary to get the basic authentication working for the API. * Revert the addition of "AuthType Basic" Did some more testing on my server here and I totally agree, don't need "AuthType Basic".
2017-10-23Enhance install process by generating config files from templates (#275)JocelynDelalande5-0/+97
* Add a command to generate configuration examples Config files are generated from templates (which remplace previous example files). - solve the issue of hard-to-explain configuration examples - ease pkg path seeking (avoid it, actually) - add working defaults for sqlite and unix socket paths (instead of /replace/me/path/example) - move settings comments from default_settings.py to ihatemoney.cfg.j2, as it is the one that will be facing user. * Use generate-config command in install doc Also follow the new working defaults of templates for socket and db path. * Fix doc settings table On the long term, plaintext tables might destroy humanity. * Mention templates dir URL in documentation As requested by @almet