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
|
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
|
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
|
0fe8ef55a2
|
Pagelet initialization tests: Added safeguards against non-terminating threads.
|
2018-08-19 01:06:38 +02:00 |
|
s3lph
|
cd87695dd1
|
Pagelet initialization test.
|
2018-08-18 02:44:09 +02:00 |
|
s3lph
|
5bace1a3f8
|
Implemented pagelet initialization.
|
2018-08-17 20:44:07 +02:00 |
|
s3lph
|
f6901f7f9e
|
User bootstrapping documentation
|
2018-08-15 16:18:52 +02:00 |
|
s3lph
|
0b34f5ec7f
|
Added unit tests for admin user test and touchkey-only userlist.
|
2018-08-14 23:58:54 +02:00 |
|
s3lph
|
707883b1c4
|
Removed trailing whitespace.
|
2018-08-14 22:57:52 +02:00 |
|
s3lph
|
7f58da298b
|
Basic user bootstrapping, still needs documentation & testing.
|
2018-08-14 22:53:39 +02:00 |
|
s3lph
|
30be649ae2
|
Implemented configurable static response headers.
|
2018-08-03 18:42:30 +02:00 |
|
s3lph
|
207f4f1531
|
Merge branch 'staging' into python-3.7
|
2018-08-02 17:34:39 +02:00 |
|
s3lph
|
be09ea1ee7
|
Wrote code documentation for the pagelets of the current implementation, and for some of the jinja2 templates
|
2018-07-23 00:19:41 +02:00 |
|
s3lph
|
c20029fb36
|
Moved primitives package to db.
|
2018-07-22 15:30:59 +02:00 |
|
s3lph
|
ca3c3e755c
|
One more trailing whitespace.
|
2018-07-21 21:51:02 +02:00 |
|
s3lph
|
1c733c6203
|
Fixed another codestyle error.
|
2018-07-21 21:49:02 +02:00 |
|
s3lph
|
9afd86d5ab
|
Fixed code style in db schema definitions.
|
2018-07-21 21:46:46 +02:00 |
|
s3lph
|
ce0a01cb7c
|
Fixed change_user and change_product unit tests.
|
2018-07-21 21:45:05 +02:00 |
|
s3lph
|
bead299ccd
|
Migration to a new database schema (version 2), where each transaction (purchase, deposit, or admin modification) is recorded individually.
|
2018-07-21 21:39:42 +02:00 |
|
s3lph
|
b1a56f59fc
|
Moved currency formatting/parsing into generic util package
|
2018-07-20 15:30:58 +02:00 |
|
s3lph
|
a4930d268d
|
Added code comments to parse_chf.
|
2018-07-20 15:25:06 +02:00 |
|
s3lph
|
862a0e6fa8
|
Implemented unit tests for currency formatting and parsing.
|
2018-07-20 15:20:33 +02:00 |
|
s3lph
|
103e06cf12
|
Implemented currency formatting and parsing.
|
2018-07-20 14:58:22 +02:00 |
|
s3lph
|
0ab7d48622
|
Enabled jinja2 escaping by default.
|
2018-07-20 13:57:23 +02:00 |
|
s3lph
|
63aef74e10
|
Merge branch '18-libmagic-mime-type-detection' into staging-unstable
|
2018-07-20 13:04:57 +02:00 |
|
s3lph
|
8b0e871dc7
|
Only use libmagic for static resources if extension-based guessing fails.
|
2018-07-20 13:01:33 +02:00 |
|
s3lph
|
b6b07fdac5
|
Merge branch '18-libmagic-mime-type-detection' into staging-unstable
|
2018-07-20 10:59:39 +02:00 |
|
s3lph
|
8598daf3b0
|
Catch potential file-magic exception.
|
2018-07-20 00:49:29 +02:00 |
|
s3lph
|
5912d1e624
|
Use a libmagic wrapper to guess Content-Type headers.
|
2018-07-20 00:32:51 +02:00 |
|
s3lph
|
2a75151c2f
|
Merge branch 'dbfacade-staging-merge' into staging-unstable
|
2018-07-19 22:06:31 +02:00 |
|
s3lph
|
c4018156f5
|
Changed the change_user and change_product API to get rid of the update -> write -> undo on failure pattern.
|
2018-07-19 21:51:35 +02:00 |
|
s3lph
|
fcc64d1662
|
Implemented unit tests for get_user and get_product.
|
2018-07-19 21:33:19 +02:00 |
|
s3lph
|
105a10e91b
|
Merged extended database API into a branch derived from master. WIP; needs unit tests.
|
2018-07-17 22:03:08 +02:00 |
|
s3lph
|
bb3d9e62e6
|
Ported code to Python 3.7. TODO: Port CI pipeline and deployment images.
|
2018-07-16 19:47:54 +02:00 |
|
s3lph
|
3e289e4df8
|
Merge branch 'master' into staging-unstable
|
2018-07-15 00:57:33 +02:00 |
|
s3lph
|
fe83b2017c
|
Fixed some minor type annotation issues.
|
2018-07-15 00:55:39 +02:00 |
|
s3lph
|
c416cac03a
|
Merge branch 'master' into staging-unstable
|
2018-07-14 23:48:31 +02:00 |
|
s3lph
|
69601150a7
|
Added additional unit tests.
|
2018-07-14 23:44:27 +02:00 |
|
s3lph
|
5c9d85fa70
|
Removed all APSW references.
|
2018-07-14 23:35:32 +02:00 |
|
s3lph
|
f423aa579a
|
Merge branch 'master' into staging-unstable
|
2018-07-14 23:09:07 +02:00 |
|
s3lph
|
96eaa2c4c0
|
Unit tests for 304 Not Modified testing.
|
2018-07-14 23:05:50 +02:00 |
|
s3lph
|
a9fc6f451b
|
Cleaner datetime API usage.
|
2018-07-14 22:55:14 +02:00 |
|
s3lph
|
87b66719e3
|
Implemented (probably quite shaky) static content cache headers.
|
2018-07-14 19:00:37 +02:00 |
|
s3lph
|
45be1930a4
|
Merge branch 'master' into staging-unstable
|
2018-07-14 13:20:53 +02:00 |
|
s3lph
|
4626f22339
|
config documentation
|
2018-07-14 13:14:53 +02:00 |
|
s3lph
|
8f82420d7f
|
Logging config unit tests.
|
2018-07-14 12:55:09 +02:00 |
|
s3lph
|
a4967b1338
|
Slightly improved logging config.
|
2018-07-14 12:16:46 +02:00 |
|
s3lph
|
3382d23d85
|
Basic logging implementation; still undocumented.
|
2018-07-14 00:15:19 +02:00 |
|
s3lph
|
fab4303d5b
|
Merge branch 'master' into DO-NOT-MERGE-horrible-webapp
|
2018-07-13 22:10:11 +02:00 |
|
s3lph
|
b12535bc93
|
Merge branch '3-constant-time-password-verification' into 'master'
Resolve "Password verification apparently vulnerable to timing attacks"
Closes #3
See merge request s3lph/matemat!11
|
2018-07-13 20:08:11 +00:00 |
|
s3lph
|
9b67d1d1ff
|
Merge branch '7-configuration-file' into DO-NOT-MERGE-horrible-webapp
|
2018-07-13 20:58:37 +02:00 |
|
s3lph
|
48ad9bc7df
|
Fixed #3 Password verification apparently vulnerable to timing attacks.
|
2018-07-13 20:04:42 +02:00 |
|
s3lph
|
8fab13e13a
|
Added support for multiple config files
|
2018-07-13 16:02:30 +02:00 |
|
s3lph
|
758a2eb018
|
Fixed: Expand ~ in config file parsing.
|
2018-07-13 01:22:17 +02:00 |
|
s3lph
|
23e6662ca8
|
Fixed previous unit tests and implemented tests for config parsing.
|
2018-07-13 00:15:08 +02:00 |
|
s3lph
|
2dd57dcfd6
|
Reworked and cleaned up config file integration.
|
2018-07-13 00:14:48 +02:00 |
|
s3lph
|
a52f09fc58
|
First, horrible config file support.
|
2018-07-11 22:06:06 +02:00 |
|
s3lph
|
f860ae3b58
|
Fixed: Wrong argument name check when adding a new product.
|
2018-07-11 18:24:23 +02:00 |
|
s3lph
|
68a228e95f
|
Fixed user-generated static resources paths.
|
2018-07-11 16:57:38 +02:00 |
|
s3lph
|
3a8497325f
|
Moved database and user generated content to /var/matemat
|
2018-07-11 16:06:36 +02:00 |
|
s3lph
|
c3a7f3cf16
|
Fixed: Check if all required arguments are set in change requests from the admin panel. Also removed the requirement to enter the current password in order to change the touchkey.
|
2018-07-11 12:30:27 +02:00 |
|
s3lph
|
0481b5bf98
|
Always add Matemat version number to Jinja template.
|
2018-07-09 22:46:35 +02:00 |
|
s3lph
|
e618f06d11
|
Included version number in base template.
|
2018-07-09 22:41:58 +02:00 |
|
s3lph
|
6db093437b
|
Merge branch 'jinja2-template' into DO-NOT-MERGE-horrible-webapp
|
2018-07-09 22:38:39 +02:00 |
|
s3lph
|
1b00c80133
|
Implemented a more explicit Pagelet return API using class instances to describe the action to take.
|
2018-07-09 20:50:02 +02:00 |
|