4410aaa504
Fix sphinx integration ( #208 )
...
* Fix rst link formatting in the README
* Use Sphinx 1.5.5 since 1.6b2 is selected otherwise and breaks.
2017-05-08 22:18:50 +02:00
0livd
50d2689179
Makefile: Add new rule to compile translations ( #207 )
2017-05-06 00:02:18 +02:00
0livd
e3da3b3b7f
Externalize the settings ( #193 )
...
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-23 18:32:37 +02:00
0livd
fb84135fe5
Move tests to budget.tests ( #205 )
...
* Move tests to budget.tests
Update tox.ini to call the unittest dicovery module
Closes #196
* Fix typo in Readme
2017-04-22 23:07:24 +02:00
Toover
41ede04a59
Fix makefile: Python lookup and virtualenv setup ( #201 )
...
* 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-15 19:33:34 +02:00
Toover
4ea5158a70
Update the README with additional requirements and information ( #202 )
...
Without this information, I really could not understand where to go next.
2017-04-15 19:31:35 +02:00
0livd
cdf903383a
Add the possibilty to run ihatemoney via Apache mod_wsgi ( #191 )
...
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-10 18:46:39 +02:00
Jocelyn Delalande
deff0f8bc3
Back to development: 0.10
2017-04-04 16:04:41 +02:00
Jocelyn Delalande
788c16c497
Preparing release 0.9
2017-04-04 16:04:11 +02:00
49615acb1d
Merge pull request #192 from JocelynDelalande/jd-remove-warnings
...
Warnings hunt !
2017-03-29 19:52:38 +02:00
Jocelyn Delalande
4799fcb34f
Remove unused sphinx option
...
It was triggering a warning :
> copying static files... WARNING: html_static_path entry u'/home/jocelyn/dev/ihatemoney/docs/_static' does not exist
To my knowledge it was not used, and the _static dir do not even exist. Let me know if I am wrong.
2017-03-29 15:36:04 +02:00
Jocelyn Delalande
95d0c71827
Use propper base64 encoding version for py3
...
Removes py3-only warning (this alias might be removed in future py3 version):
> DeprecationWarning: encodestring() is a deprecated alias, use encodebytes()
> ('%s:%s' % (username, password)).encode('utf-8')).decode('utf-8').replace('\n', '')
py2-compatible change.
2017-03-29 15:31:28 +02:00
Jocelyn Delalande
f6236b43ca
Remove ExtDeprecationWarning from manage.py
...
Using new-style flask extensions imports.
grep tells me there were the only flask.ext.* occurences remaining in ihatemoney code.
2017-03-29 15:15:47 +02:00
Jocelyn Delalande
ec75e55416
Remove deprecated wtforms TextField
...
It is a bare alias of StringField (thus, no alembic migration is required),
deprecated since wtforms v2.0 (2013).
Removes the following warning:
> DeprecationWarning: The TextField alias for StringField has been deprecated and will be removed in WTForms 3.0
Ref f07729dd45
2017-03-29 15:11:40 +02:00
Jocelyn Delalande
2609c4aaa7
Update flask-sqlalchemy to >=2.2
...
Versions prior to 2.1 trigger a deprecation warning because of the import of
`flask.ext.sqlalchemy._compat` instead of `flask_sqlalchemy`.
2017-03-29 15:09:02 +02:00
Jocelyn Delalande
5a7ae4f5d2
Update flask-wtf to 0.14
...
Important changes include the new way to disable CSRF for a given form, 0.13
does not support it.
2017-03-29 14:38:16 +02:00
Jocelyn Delalande
c7f4547d5d
Use non-deprecated way to disable CSRF for API
...
See also https://github.com/lepture/flask-wtf/pull/287
2017-03-29 14:32:43 +02:00
Jocelyn Delalande
7380b6f9f7
Explicitly disables SQLALCHEMY_TRACK_MODIFICATIONS
...
That noisy warning was everywhere in our test/CI logs before that commit:
> ./home/travis/build/spiral-project/ihatemoney/.tox/py27/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py:839: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
>
> 'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhe
2017-03-29 12:11:24 +02:00
JocelynDelalande
bf2c11f8a9
Merge pull request #190 from spiral-project/use-app-root
...
Use app.root_path instead of __HERE__
2017-03-29 11:47:12 +02:00
ce5ceb7f10
Merge pull request #189 from JocelynDelalande/py34
...
Add Python 3.4 support
2017-03-29 11:43:57 +02:00
Jocelyn Delalande
dfe8297fae
Add Python 3.4 support
...
Note that py3.4 is the version shipped in current Debian version (Jessie).
2017-03-29 11:21:39 +02:00
f43b3dc41d
Use app.root_path instead of __HERE__
2017-03-29 00:07:53 +02:00
1b94f6738a
Merge pull request #186 from spiral-project/tox
...
Tox support
2017-03-29 00:03:25 +02:00
aaf9f9f237
@JocelynDelalande's review
2017-03-28 20:25:23 +02:00
9a1708ecf6
Merge pull request #188 from JocelynDelalande/travis-tox
...
Make travis use tox
2017-03-28 20:23:50 +02:00
Jocelyn Delalande
9e30f3bb99
Make travis use tox
...
So that we are consistent between dev test env and CI test env.
The use of `TOXENV` is to keep travis running the several envs in parallel.
2017-03-28 20:13:49 +02:00
42c9af528f
Add tox support.
2017-03-28 17:50:11 +02:00
08a4935566
Update the README with makefile changes
2017-03-28 17:49:22 +02:00
2d0c85e0e6
Update requirements.txt location
2017-03-28 17:41:34 +02:00
3953b70c03
Update the .gitignore file
2017-03-28 17:41:34 +02:00
d1facecc69
Create a Makefile to ease development
2017-03-28 17:41:34 +02:00
a354973f1f
Change the README again
2017-03-28 17:41:34 +02:00
c0651203c3
Update the README with the release process
2017-03-28 17:41:34 +02:00
b60de59bd6
Preparing release 1.0.0
2017-03-28 17:41:34 +02:00
acbe2c10d8
Merge pull request #182 from spiral-project/releases
...
Start making releases
2017-03-28 17:40:00 +02:00
bfcb9ef966
Fix setup.py mistake
2017-03-22 18:02:01 +01:00
ce236303ef
Specify python 2.7 and remove 3.6 since we do not test against it yet
2017-03-21 17:15:11 +01:00
b3e7925d66
Add a setup.py file
2017-03-21 16:33:13 +01:00
caf7f2b814
Update the README with the release process
2017-03-21 15:09:31 +01:00
464f50dfc9
Add a changelog and a contributors file
2017-03-20 21:32:18 +01:00
3dac51208d
Merge pull request #181 from 0livd/remove_archive
...
Remove unused archive feature
2017-03-20 14:00:51 +01:00
c04ace2823
Merge pull request #179 from 0livd/export_filename
...
Fix bad export filename
2017-03-20 13:06:59 +01:00
0livd
ceab95b444
Remove unused archive feature
...
The archive table is not removed from the database model
because it would involve a tricky migration
fixes #170
2017-03-19 20:16:06 +01:00
0livd
735c12ea45
Use project.id in export filename as it is already slugified
2017-03-19 17:30:55 +01:00
79d33e1c65
Merge pull request #178 from 0livd/py3
...
Py2/3 compatibility, 2nd round
2017-03-18 23:54:28 +01:00
0livd
2f2388b5b4
Travis CI: Run tests on python2.7 and python3.5
2017-03-17 19:37:57 +01:00
0livd
59a050e020
Make ihatemoney Py2/3 compatible
...
Flask-wtf>=0.13 is now required and Form is replaced by FlaskForm
Py2/3 compatibility is assured by six
2017-03-17 19:37:57 +01:00
0livd
10a16a3b5c
Fix broken authentication test
2017-03-12 22:47:54 +01:00
0livd
108970eb50
Fix tab indentation
2017-03-12 22:23:24 +01:00
42854bd064
Merge pull request #176 from 0livd/master
...
Add export feature
2017-03-11 01:27:41 +01:00