Commit graph

475 commits

Author SHA1 Message Date
s3lph
4ecc848eac Implemented default images. 2018-09-10 00:45:32 +02:00
s3lph
f2f8828db4 Fixed image and price entry on product creation. 2018-09-10 00:12:11 +02:00
s3lph
31b1cc9c21 Implemented image conversion and resizing with pillow. 2018-09-09 23:59:06 +02:00
s3lph
a7a2b5a76f Added pillow dependency. 2018-09-09 23:27:23 +02:00
s3lph
3995245127 Merge branch 'staging' into 'master'
Receipt generation

See merge request s3lph/matemat!43
2018-09-09 21:08:43 +00:00
s3lph
56500e87e5 Finally fixed, it; raised the receipt cronjob to a more sane interval. 2018-09-09 04:18:45 +02:00
s3lph
6fcea8e2b3 Added fallback handling for transactions with unknown dates. 2018-09-09 04:12:11 +02:00
s3lph
b55ad25f58 Added log output to cron job runner. 2018-09-09 04:03:51 +02:00
s3lph
270910f6be Removed debug output. 2018-09-09 04:01:33 +02:00
s3lph
a8e0687095 Fix: Fetch receipt_pref in list_users. 2018-09-09 03:53:52 +02:00
s3lph
0a27e6db56 Hopefully fixed now! 2018-09-09 03:44:49 +02:00
s3lph
71d7bb85ce Added verification of receipt_pref to login test. 2018-09-09 03:40:06 +02:00
s3lph
53233d74c3 Fixed: Fetch receipt preference on login. 2018-09-09 03:38:23 +02:00
s3lph
f11b0e0b93 Even more debug output. 2018-09-09 03:33:09 +02:00
s3lph
660969744c Fixed missing argument in tests. 2018-09-09 03:26:00 +02:00
s3lph
a466e5109f Used another logger. 2018-09-09 03:23:19 +02:00
s3lph
37498f9ab7 More debug output. 2018-09-09 03:17:20 +02:00
s3lph
2161ff79d9 Added log output to receipt generation function. 2018-09-09 03:09:47 +02:00
s3lph
fecaf55b2b Merge branch '19-montly-yearly-receipts' into 'staging'
Resolve "Montly/Yearly Receipts"

See merge request s3lph/matemat!41
2018-09-08 19:08:07 +00:00
s3lph
436da33330 Added a not to the settings UI when sending of receipts has been disabled in the configuration. 2018-09-08 21:05:03 +02:00
s3lph
79e6f83c72 (More or less) proper definition of "months", added more receipt preferences. 2018-09-08 20:44:40 +02:00
s3lph
1c5b442fea Fixed a codestyle error. 2018-09-07 22:47:27 +02:00
s3lph
b19c6edd7f Implemented SMTP receipt sending. 2018-09-07 22:45:20 +02:00
s3lph
2056b0fb81 Implemented cron jobs 2018-09-07 22:04:50 +02:00
s3lph
22d4bd2cd5 Fixed trailing whitespace. 2018-09-07 19:06:47 +02:00
s3lph
2c6996a9b4 Implemented receipt generation, including unit tests. 2018-09-07 19:04:15 +02:00
s3lph
a3fa86fb25 Implemented "Balance change reason" field. 2018-09-01 23:48:10 +02:00
s3lph
3bdc9417fd Database schema: Added user.created column. 2018-09-01 23:23:06 +02:00
s3lph
6901729ac3 Added "plus_sign" option to currency format/parsing. 2018-09-01 17:07:49 +02:00
s3lph
ff0c13d367 Yet another schema change: consumptions now contains the product name rather than the product id. 2018-09-01 02:54:55 +02:00
s3lph
fec9c3d7ac Fixed a pycodestyle warning 2018-08-31 22:31:36 +02:00
s3lph
8c4e83bcf6 Implemented schema migration unit test. 2018-08-31 22:29:47 +02:00
s3lph
5d710f0c18 - Another change to the database schema
- Enabled foreign key constraints (!!!)
- Fixed a facade bug exposed by foreign key constraints
2018-08-31 21:52:00 +02:00
s3lph
56ce2a73cb Fixed db wrapper unit tests, fixed a db facade bug. 2018-08-31 21:01:02 +02:00
s3lph
c26e0ffc21 Integration of ReceiptPreference into the UI. 2018-08-31 20:57:08 +02:00
s3lph
0adba41c8d Database schema migration to version 3. 2018-08-31 19:28:28 +02:00
s3lph
f959fd6ef4 Merge branch 'staging' into 'master'
Increased test coverage

See merge request s3lph/matemat!40
2018-08-28 21:23:08 +00:00
s3lph
a4ed09933e Merge branch '25-test-coverage' into 'staging'
Resolve "Test coverage"

See merge request s3lph/matemat!39
2018-08-28 21:19:47 +00:00
s3lph
fd2b0a4e55 Better test coverage in database wrapper. 2018-08-28 22:35:52 +02:00
s3lph
e29423c32e Full coverage in exceptions. 2018-08-28 22:14:03 +02:00
s3lph
9cd6522b26 Full coverage in config. 2018-08-28 21:45:11 +02:00
s3lph
39dacfcb39 Full coverage in util. 2018-08-28 21:20:14 +02:00
s3lph
594f904980 Fixed codestyle 2018-08-28 21:09:23 +02:00
s3lph
e71817cf8e Increased coverage in httpd, also some code deduplication. 2018-08-28 21:07:32 +02:00
s3lph
4c2c454f12 Full branch coverage in database facade. Also removed a redundant consistency check. 2018-08-21 02:34:05 +02:00
s3lph
bf50d65389 Full branch coverage in currency parsing. 2018-08-21 01:13:35 +02:00
s3lph
45c0237e7f Merge branch 'staging' into 'master'
Pagelet Initialization

See merge request s3lph/matemat!38
2018-08-20 22:57:23 +00:00
s3lph
cc8b7d091e Merge branch '24-pagelet-initialization' into 'staging'
Resolve "Pagelet initialization"

See merge request s3lph/matemat!36
2018-08-20 22:48:48 +00:00
s3lph
b1af98409e Added pagelet initialization documentation 2018-08-21 00:41:52 +02:00
s3lph
0fe8ef55a2 Pagelet initialization tests: Added safeguards against non-terminating threads. 2018-08-19 01:06:38 +02:00