aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/default_settings.py
AgeCommit message (Collapse)AuthorFilesLines
2019-09-24Add support for spanish language (es_419)Alexis M1-1/+1
2019-08-18Arrange navbar items by functionsBrice Maron1-0/+1
2017-10-23Enhance install process by generating config files from templates (#275)JocelynDelalande1-29/+2
* 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
2017-09-04Enhance the dashboard. (#262)0livd1-0/+6
* Update to a more flexible admin authentication * Admin can now access any project * Add delete and edit options in the dashboard * Add a link to the dashboard in the nav bar This is a rework of the changes proposed by @Olivd, so they can apply on top of the latest master without trouble. All credit goes to him for the code.
2017-08-06Fix #248: Database creation issue (#254)0livd1-1/+1
In flask's development server, the route handlers run in a different thread than the main thread thus an in-memory database created in the main thread cannot be acccessed by the route handlers. Switching the default database location to a temporary file solves the isssue. See full explanation here: https://gehrcke.de/2015/05/in-memory-sqlite-database-and-flask-a-threading-trap/
2017-07-07Absolute imports & some other improvements (#243)Alexis Metaireau1-0/+31
* Use absolute imports and rename package to ihatemoney * Add a ihatemoney command * Factorize application creation logic * Refactor the tests * Update the wsgi.py module with the new create_app() function * Fix some styling thanks to Flake8. * Automate Flake8 check in the CI.