aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-11-01Add an upgrade guideJocelyn Delalande4-0/+82
fix #274
2017-11-01Parse requirements.txt in setup.py. Fix #273 (#284)Alexis Metaireau2-24/+16
2017-11-01Add some information about Yunohost in the documentation. (#283)Alexis Metaireau1-0/+9
2017-11-01Update installation doc to include doc about production values, fix #266. (#282)Lucas Verney2-6/+28
2017-10-26Use token based auth to reset passwords (#269)0livd15-16/+156
Send a mail containing a password reset token link instead of sending a clear text password. Ref #232
2017-10-25Add a DockerFile (#272)0livd4-1/+93
Can be used to deploy the latest version from PyPI in a production environment or from the master branch in a dev environment.
2017-10-23Make authentication logic simpler and safer (#270)0livd3-38/+30
* Fixed exposed password in session The project password was set in clear text in the session cookie. The cookie payload is only base64 encoded so it must not be used to store private information. The password is simply replaced by a boolean. * Simplify authentication logic
2017-10-23Fix Travis-CI integration (#276)Alexis Metaireau2-7/+13
Use tox-travis to solve the current issues with Travis-CI
2017-10-23Enhance install process by generating config files from templates (#275)JocelynDelalande12-119/+197
* 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-07Do not import the whole werkzeug pkg (#271)0livd1-4/+4
2017-09-06Normalize changelog (#265)JocelynDelalande1-18/+24
* Fix RST markup This was formatted as markdown while this is a .rst * Mention Issue/PR numbers in ChangeLog * Rephrase changelog entries to be more succint And clearer, IMHO. * Move changes to Changed section. * Remove redundant entry
2017-09-06BREAKING CHANGE: Rename supervisor program (#268)JocelynDelalande1-1/+1
To match `budget` name disparition (package got renamed in #243). This should be mentioned in upgrade guide. ref #243 #264
2017-09-06Fix default SQLALCHEMY_DATABASE_URI value in doc (#267)JocelynDelalande1-6/+6
Reality-sync with default_settings.py Not fixing the whole table layout because - my text editor doesn't do it ; - I'm too lazy ; - #251 is IMHO the real way to this issue :)
2017-09-04Enhance the dashboard. (#262)0livd13-58/+193
* 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-24Add doc building instructions (#263)JocelynDelalande1-0/+16
2017-08-21Add a statistics tab (#257)0livd8-0/+154
2017-08-20Protect admin endpoints against brute force attacks (#249)0livd6-9/+93
* Protect admin endpoints against brute force attacks Add a throttling mechanism to prevent a client brute forcing the authentication form, based on its ip address Closes #245 * Reset attempt counters if they get memory hungry
2017-08-20Streamline installation doc, now using pip (#252)JocelynDelalande6-40/+106
* Fix conf files to reflect module renaming Python module was renamed budget → ihatemoney (see #243 and 6923367). Now, "budget" relates to nothing. * Harmonize `APPLICATION_ROOT` doc with other settings * Fix link markup * Switch documentation to recomend pip over git - Update installation instruction - Clearly separate dev setup from installation - Some rewordings/section-ization by the way * Add a hint on how to find the static path This is a downside on the pip choice over git for installation. We will have to ease that a bit. By doc or by code, before next release. * Make the nginx deployment doc more accurate * Add a big fat warning about SECRET_KEY in doc
2017-08-20Fix misplaced datepicker configuration (#258)0livd2-7/+7
Bootstrap-datepicker is only included in the list_bills template but its configuration was living in the layout template, leading to a javascript error on every page except list_bills. Fixes #256
2017-08-20Add python 3.6 support (#259)0livd7-7/+8
Closes #253
2017-08-06Fix #248: Database creation issue (#254)0livd2-2/+2
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-09Revert configuration tests deletion (#250)0livd1-4/+26
Some supernatural power erased the configuration tests, they're now back !
2017-07-07Absolute imports & some other improvements (#243)Alexis Metaireau82-524/+613
* 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.
2017-06-28Make all imports relative (#229)Alexis Metaireau9-27/+36
* Make all imports relative * Change the way the application runs in the Makefile * Import the default settings relatively * Fix manage.py imports
2017-06-28Turn the WSGI file into a python module (#240)0livd4-2/+5
* Turn the WSGI file into a python module * Update conf files to use the new wsgi module Apache and gunicorn now use the same entrypoint * Update Changelog
2017-06-27Remove unused option in the setup script (#239)0livd2-3/+3
Additionnal files to be distributed along with the sources are already specified in the MANIFEST.in file thus the package_data entry in the setup script can be safely removed
2017-06-27Merge pull request #226 from spiral-project/rename-delete-to-deactivateJocelynDelalande4-4/+10
Rename delete to deactivate for members. Fixes #177
2017-06-27Warn user when using default 'not-so-secret' secret-key.Alexis Métaireau1-1/+9
2017-06-27Use a hashed password for ADMIN_PASSWORD (#236)0livd6-25/+54
* Use a hashed password for ADMIN_PASSWORD A generate_password_hash manage.py command is provided Fixes #233 * Print a console warning for users using a clear text ADMIN_PASSWORD * Reword ADMIN_PASSWORD doc * Update changelog * Update CHANGELOG.rst - say it out loud - bump to 2.0 (that's the logic of semantic versioning while introducing breaking changes) * Bump to 2.0 (breaking change) * Update hashed password warning message * Mention the generate password hash in the Changelog
2017-06-26Explain better what is a deactivation of a member, per @JocelynDelalande's ↵Alexis Métaireau3-3/+5
review
2017-06-21Re-organize the documentation (#223)Alexis Metaireau11-439/+232
* Re-organize the documentation * Fix encoding errors for python 2 * Document the dependencies. Fixes #199 * Add a make update command. Fixes #211
2017-06-21Add meta viewport tag. Fixes #219. (#231)Lucas Verney1-0/+1
2017-06-21Rename delete to deactivate for members. Fixes #177Alexis Métaireau3-1/+5
2017-06-20Back to development: 1.1Jocelyn Delalande2-1/+7
2017-06-20Preparing release 1.0Jocelyn Delalande2-2/+2
2017-06-20Prepare changelog & contrib list for v1.0 (#222)JocelynDelalande2-2/+20
2017-06-20Move the wsgi file to the budget dir (#218)0livd2-1/+1
The wsgi file needs to live in the budget dir if we want it to be installed by setuptools
2017-06-19Update docs requirements to fix failing build (#217)0livd1-0/+1
Closes #216
2017-06-18Tell Apache to add the budget directory to the python path (#215)0livd2-9/+1
The path no longer needs to be modified in the .wsgi file
2017-06-11More responsive layout (#213)Lucas Verney4-41/+50
Fix navbar responsiveness on mobile.
2017-05-18Public project creation and admin permissions (#210)0livd9-2/+93
* Add a @requires_admin decorator It can be used to protect specific endpoints with ADMIN_PASSWORD (a password that is stored unencrypted in the settings) The decorator has no effect if ADMIN_PASSWORD is an empty string (default value) * Require admin permissions to access create project endpoint When ADMIN_PASSWORD is not empty, project creation form on the home page will be replaced by a link to the create project endpoint so one is able to enter the admin password before filling the form
2017-05-17Add ACTIVATE_DEMO_PROJECT setting (#209)0livd4-2/+22
When set to False (True by default), it deactivates the demo project
2017-05-08Fix sphinx integration (#208)Alexis Metaireau2-6/+4
* Fix rst link formatting in the README * Use Sphinx 1.5.5 since 1.6b2 is selected otherwise and breaks.
2017-05-06Makefile: Add new rule to compile translations (#207)0livd1-0/+3
2017-04-23Externalize the settings (#193)0livd6-29/+101
Default settings from app's root path are loaded first Settings are then overriden by /etc/ihatemoney/ihatemoney.cfg or by another file which path is set in an env var Fixes #187
2017-04-22Move tests to budget.tests (#205)0livd4-2/+2
* Move tests to budget.tests Update tox.ini to call the unittest dicovery module Closes #196 * Fix typo in Readme
2017-04-15Fix makefile: Python lookup and virtualenv setup (#201)Toover1-4/+7
* Fix Python lookup in the Makefile * Improve the Makefile To make sure calling for "make serve" works straight away, the dependencies are automatically prepared. A "make clean" has been added, to test this feature.
2017-04-15Update the README with additional requirements and information (#202)Toover1-1/+6
Without this information, I really could not understand where to go next.
2017-04-10Add the possibilty to run ihatemoney via Apache mod_wsgi (#191)0livd3-1/+40
Add the possibilty to run ihatemoney via Apache mod_wsgi ihatemoney.wsgi is the entry point for mod_wsgi. A virtualenv can be activated if its path is specified as an env var in the apache virtual host file
2017-04-04Back to development: 0.10Jocelyn Delalande2-1/+7