1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00
Commit graph

453 commits

Author SHA1 Message Date
Jocelyn Delalande
a949dc1872 [ehn] Factorize code between install and restore
Fix #13
2017-06-19 09:35:17 +02:00
Jocelyn Delalande
546581d642 [ehn] Use MySQL drop helpers 2017-06-19 02:01:33 +02:00
Jocelyn Delalande
2c7cb29974 [ehn] Remove useless lines 2017-06-19 01:53:45 +02:00
Jocelyn Delalande
7d38d249f4 Fix installation on domain root
`APPLICATION_ROOT='/'` is not working, if we are on root, ihatemoney requires
that the `APPLICATION_ROOT` setting is absent.
2017-06-19 01:20:59 +02:00
Jocelyn Delalande
87fac52549 Fix several mis-ordered and missing instructions 2017-06-18 17:14:35 +02:00
Jocelyn Delalande
1ef89e5ba2 Fix 502 errors right after installation 2017-06-18 17:13:39 +02:00
Jocelyn Delalande
00243d4a5c Normalize path 2017-06-18 17:11:10 +02:00
Jocelyn Delalande
cd65e10413 Fix upgrade script
(common inclusion was failing)
2017-06-17 18:27:41 +02:00
Jocelyn Delalande
b14bea4865 Add backup/restore scripts 2017-06-17 17:28:57 +02:00
Jocelyn Delalande
231bb6e47b Fix http path
Thanks to Maniack C.
2017-06-17 12:59:40 +02:00
Jocelyn Delalande
9b7d0e7ac2 Fix typo 2017-06-17 11:31:38 +02:00
Jocelyn Delalande
14cdb2f5c9 Create /opt/yunohost in install script 2017-06-17 11:11:23 +02:00
Jocelyn Delalande
f65c46a410 Remove now useless source files 2017-06-17 00:44:49 +02:00
Jocelyn Delalande
c114aa6ac8 Use releases tarballs rather than git master.
- upgrade to ihatemoney 0.9
- refactor some code into a `_common.sh`
2017-06-17 00:22:16 +02:00
Jocelyn Delalande
b0ae7b8c77 Use recommended helpers in scripts
Thanks to ynh-package-linter :-)
2017-03-31 15:49:56 +02:00
Jocelyn Delalande
cd55bf42e2 Use the recommended set in scripts 2017-03-18 19:13:10 +01:00
Jocelyn Delalande
939ff61545 Add LICENSE file 2017-03-18 19:10:42 +01:00
Jocelyn Delalande
2b3b63ef27 Merge branch 'upstream'
Conflicts:
	sources/budget/static/css/datepicker.css
	sources/budget/static/js/jquery-1.7.2.min.js
2017-03-18 17:58:12 +01:00
Alexis Metaireau
42854bd064 Merge pull request #176 from 0livd/master
Add export feature
2017-03-11 01:27:41 +01:00
0livd
e35480d6b7 Add export feature
Bills and transactions can now be exported to json or csv

ref #28
2017-03-09 23:24:18 +01:00
Jocelyn Delalande
8c412b391f Add non-regression test for member name XSS
ref #173
2017-02-22 00:31:52 +01:00
Alexandre Avenel
38d4534c69 Fix id in form label
Checking item was broken when clicking on the label instead of the checkbox
2017-02-16 23:36:45 +01:00
Alexandre Avenel
4c02ad51ac Remove obsolete code 2017-02-16 23:34:07 +01:00
Alexandre Avenel
baba943e62 Fix xss (#173)
Fix #173
Rewrite multi select widget as a template in order to have all values properly escaped.
2017-02-16 23:11:30 +01:00
Alexis Metaireau
3dd7c67ecf Merge pull request #172 from JocelynDelalande/jd-bootstrap-4
WIP: Upgrade to bootstrap 4
2017-02-15 20:42:48 +01:00
Jocelyn Delalande
57596b5f46 Prevent "Add new bill" button flickering 2017-02-09 16:49:01 +01:00
Jocelyn Delalande
7d3ebe5378 Prevent dancing cells while hovering sidebar lines
Fix a regression introduced with BS4 update.
2017-02-09 16:41:19 +01:00
Jocelyn Delalande
8b96dcb257 Prevent modal overflow
Allowing the modal to extend; thus "natural" page scrolling allows to see the
whole popup.
2017-02-09 15:47:28 +01:00
Jocelyn Delalande
0aafbcc0b3 Update bootstrap-datepicker to 1.6.4
Actually switching to maintained fork at
https://github.com/uxsolutions/bootstrap-datepicker ; the original project
being unmaintained since 2012.

- Works with recent jQuery
- BS4 is not supported by bootstrap-datepicker, but actually, it works :-)

ref https://github.com/uxsolutions/bootstrap-datepicker/issues/1670
2017-02-07 15:38:18 +01:00
Jocelyn Delalande
fe39258630 Adapt list bills view to bootstrap 4
- modal classes and hierarchy changed since BS2
- striped tables are now handled by css3 pseudo-class rather than classes
- fix placement/alignment for the button and comment above the table
2017-02-04 00:41:28 +01:00
Jocelyn Delalande
a47d91fab9 Do not force huge add member button
BS4 provides larger touch-friendly controls anyway.
2017-02-04 00:41:28 +01:00
Jocelyn Delalande
f9856cb991 Adapt tryout button to bootstrap 4
Trying to keep same look'n'feel.
2017-02-04 00:41:28 +01:00
Jocelyn Delalande
c6c5f8657e Adapt navigation bar to bootstrap 4
Also fixed some weird alignment issues.
I think this will need more work later (revamp the navbar layout to avoid that
sensation of thing which are floating at random places in the navbar).
2017-02-04 00:41:28 +01:00
Jocelyn Delalande
e148d19e96 Add a label for screen-readers on user add form
There was no label, which is bad for accessibility.
2017-02-04 00:41:28 +01:00
Jocelyn Delalande
a3cbede680 Refactor layout based on bootstrap 4 grid 2017-02-04 00:41:20 +01:00
Jocelyn Delalande
2862130269 Adapt to bootstrap 4 forms
- 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
2017-02-04 00:41:05 +01:00
Jocelyn Delalande
37da1db38a Update bootstrap dependency to bootstrap 4 2017-02-04 00:40:59 +01:00
Alexis Metaireau
bb5ad597f5 Merge pull request #171 from spiral-project/berteh-better-translations
Improve translation for user edit form.
2017-02-01 23:10:03 +01:00
Berteh
c9b5e87b90 Improve translation for user edit form. 2017-02-01 22:30:59 +01:00
Jocelyn Delalande
87d2dea9c8 Factor navbar between list_bills and settle_bill 2017-01-30 23:23:03 +01:00
JocelynDelalande
a79685798d Merge pull request #167 from aavenel/fix-deprecation-issues
Fix deprecation issues (ExtDeprecationWarning)
2017-01-27 18:22:24 +01:00
Alexandre Avenel
5d009d839b Fix deprecation issues (ExtDeprecationWarning) 2017-01-21 15:03:58 +01:00
JocelynDelalande
67331dcf2a Merge pull request #155 from aavenel/fix-test-rounding
Fix unit test rounding
2017-01-21 14:44:58 +01:00
Alexandre Avenel
58aebf1069 Fix unit test rounding :
Test was Ok but failed due to some floating point errors.
2017-01-21 14:12:49 +01:00
Alexis Metaireau
963fcf0af1 Merge pull request #166 from JocelynDelalande/jd-fix-prefixed-test
Fix ServerTestCase.test_unprefixed test
2017-01-17 09:34:47 +01:00
Alexis Metaireau
8615fde00a Merge pull request #161 from zorun/optimise_sql
Optimise sql queries
2017-01-16 21:15:43 +01:00
Alexis Metaireau
dc75a72dd0 Merge pull request #164 from zorun/fix_zero_transfers
Fix zero-amount transfers and other rounding issues
2017-01-16 21:13:56 +01:00
Alexis Metaireau
d33f4a92a6 Merge pull request #162 from zorun/order_bills
Sort bills by (date.desc, ID.desc) instead of just date.desc
2017-01-16 21:13:10 +01:00
Jocelyn Delalande
376a0b37e3 Fix ServerTestCase.test_unprefixed test
The test was always failing, actual reason is the `app.run.configure()` fails
to reset the `APPLICATION_ROOT` setting which `ServerTestCase.test_prefixed`
overloads (side effect).

This patch *do not* fix app.run.configure as it seems uneasy, but takes a
different approach which has the advantage of making the test more explicit.

Would still be a good thing to investigate more on configure().

Fix #163
2017-01-09 10:11:50 +01:00
Baptiste Jonglez
d6cf89008f Workaround rounding issues when displaying balance of users
A user with a "0.00" balance would have either a "+0.00" in green or a
"-0.00" in red, depending on the exact value of the floating-point value.

Fix this by simply rounding to 2 digits before comparing to zero.
2017-01-03 21:37:19 +01:00