| Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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.
|
|
* 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
|
|
The archive table is not removed from the database model
because it would involve a tricky migration
fixes #170
|
|
Bills and transactions can now be exported to json or csv
ref #28
|
|
Checking item was broken when clicking on the label instead of the checkbox
|
|
Fix #173
Rewrite multi select widget as a template in order to have all values properly escaped.
|
|
There was no label, which is bad for accessibility.
|
|
- Adapt to BS4 class names and hierarchy
- Redesign some forms to have the label above the input (mobile-friendly)
- For the remaining inline form (add bill), use the grid, as BS no longer
provides inline form alignment helpers
|
|
|
|
|
|
|
|
Remove unused libs (QTip, JQueryUI) and add bootstrap-datepicker which is much lighter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The only translation so far is french, but more can be added. The browser language
is used thanks to the HTTP languages headers.
There are still some problems with the translation of some strings, I don't know
why this is. See #12
|
|
|
|
|
|
|
|
- Send an email to the user with the summary of the created project
containing a reminder of the identifier, password and a link.
- Add flash message with the identifier in the /invite page/
- Add a small note containing the identifier in the upper right corner
of the project main page.
|
|
- Do not display anymore the identifier field in home.
- Let the user enter the id if the slug generated from project name already exists as a project id.
- Moved get_billform_for from 'utils' to 'forms', to avoid issue (was 'from forms import ...' into utils,
and 'from utils import ...' into forms, which causeed an error).
|
|
This allows to isolate some behavior in the context of the web application so
the API and the web application can behave in different ways.
|
|
|
|
|
|
Now all the database during the tests is in memory, created for each test and cleared at the end of the test.
|
|
|
|
|
|
|
|
|
|
|
|
Uses uni-form to style forms and add a macro to ease this.
Of course, the overall thing has to be reworked, but having this in place will
help us to have something easier to change when we will really care about design.
All the form templates can now be defined in templates/forms.html and be called
thansk to {{ forms.name_of_the_form(form) }}.
I've done some styling, but that's really not my thing, feel free to modify it.
|