aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/api.py
AgeCommit message (Collapse)AuthorFilesLines
2020-02-20Added support for multiple API versions (#533)DavidRThrashJr1-213/+0
* Added support for multiple API versions Note that no changes were made to the api, the code was refactored to allow for new versions of the api to be created down the road. Here's what this would look like: +-- api/ +-- v1/ +-- __init__.py +-- resources.py +-- v1_1/ +-- __init__.py +-- resources.py +-- v2/ +-- __init__.py +-- resources.py +-- __init__.py +-- common.py * reformatted using black /Users/drthrash/PycharmProjects/ihatemoney/ihatemoney/api/v1/resources.py reformatted /Users/drthrash/PycharmProjects/ihatemoney/ihatemoney/api/common.py All done! ✨ 🍰 ✨ * Applying fix for unused import in init.py https://stackoverflow.com/questions/31079047/python-pep8-class-in-init-imported-but-not-used * Formatting changes recommended by black All done! ✨ 🍰 ✨ 1 file reformatted, 22 files left unchanged.
2019-10-25Token support (#504)José Antonio de la Torre1-0/+12
Added API support to generate authentication tokens, at `/api/projects/:id/token`
2019-10-19Fixed public project creation flag in API creation #246José Antonio de la Torre1-3/+3
2019-10-14Use black to refomat the files.Alexis M1-17/+25
2019-10-11Remove support for python2.Alexis M1-1/+1
In the same move : - use a setup.cfg file for packaging - remove the use of six
2019-09-30api: add bearer token supportBrice Maron1-0/+15
2018-12-25Add CORS to the API. Fix #404 (#407)Alexis Metaireau1-0/+2
2018-02-07Add statistics support to APIJocelyn Delalande1-0/+8
2018-01-25API: Migrate from flask-rest to flask-restful (#315)0livd1-84/+84
The flask-rest custom json encoder is still needed and thus was added to ihatemoney's utils. Closes #298
2017-12-29Allow to disable/enable member via API (#301)JocelynDelalande1-1/+14
Disable was already (kind-of) possible via API via DELETE, but not re-enabling. Kudos to @almet for helping me fixing that damn BooleanField :-)
2017-12-27 Fix PUT api/project/:code/members/:id (#297)JocelynDelalande1-1/+1
* Fix PUT api/project/:code/members/:id Before that commit, every PUT *must* change the name of the members, so that was : - no idempotence, - no ability to change only weight fix #295 * Remove redundant comment
2017-12-21Use hashed passwords for projects (#286)0livd1-1/+2
- Remove all occurences of clear text project passwords. - Migrate the database to hash the previously stored passwords. Closes #232
2017-07-07Absolute imports & some other improvements (#243)Alexis Metaireau1-0/+154
* 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.