Commit graph

476 commits

Author SHA1 Message Date
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
7f4dc078ec Merge branch '18-libmagic-mime-type-detection' into 'master'
Resolve "Use a libmagic wrapper for MIME type detection"

Closes #18

See merge request s3lph/matemat!19
2018-07-20 11:39:31 +00: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
17ffea037b Merge branch '18-libmagic-mime-type-detection' into staging-unstable 2018-07-20 11:49:25 +02:00
s3lph
fd7ff59137 Wrapped command for running matemat in the staging container in a shell script 2018-07-20 11:47:41 +02:00
s3lph
994138bb30 Merge branch '18-libmagic-mime-type-detection' into staging-unstable 2018-07-20 11:10:33 +02:00
s3lph
eb4504a7ea Added missing libmagic dependency to alpine-based image. 2018-07-20 11:09:43 +02:00
s3lph
b6b07fdac5 Merge branch '18-libmagic-mime-type-detection' into staging-unstable 2018-07-20 10:59:39 +02:00
s3lph
e6d5aef2b2 Removed libmagic dependency from staging Dockerfile; already present in the python:3.6-alpine base image. 2018-07-20 00:57:30 +02:00
s3lph
8598daf3b0 Catch potential file-magic exception. 2018-07-20 00:49:29 +02:00
s3lph
e2f2ab7727 Added libmagic to testing and staging Dockerfiles. 2018-07-20 00:45:15 +02:00
s3lph
5912d1e624 Use a libmagic wrapper to guess Content-Type headers. 2018-07-20 00:32:51 +02:00
s3lph
96657c122b Merge branch 'dbfacade-staging-merge' into 'master'
Added balance/stock to User/Product and changed the DatabaseFacade accordingly.

See merge request s3lph/matemat!18
2018-07-19 20:31:53 +00: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
e11205c36d Merge branch 'deployment-to-master' into 'master'
Improved CI Pipeline and Dockerfiles

Closes #8

See merge request s3lph/matemat!17
2018-07-17 18:51:07 +00:00
s3lph
22dadcc19e Merge branch 'deployment-to-master' into staging-unstable 2018-07-17 20:46:27 +02:00
s3lph
fbcde6acc0 Added CI pipeline and Docker deployment to documentation; CI: only build image for staging branches and retag the image with :latest-staging. 2018-07-17 20:30:40 +02:00
s3lph
87f65c84b0 Merged staging/deployment configuration (Dockerfiles and CI config) into a branch derived from master. 2018-07-16 22:36:51 +02:00
s3lph
f8a9ac4112 Merge branch 'staging-deployment-config' into staging-unstable 2018-07-16 19:57:27 +02:00
s3lph
d5a92287e0 Added partial config file for deployment image. 2018-07-16 19:53:26 +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
f4685114b2 Merge branch 'mypy-type-fixes' into 'master'
Fixed some minor type annotation issues.

See merge request s3lph/matemat!16
2018-07-14 22:56:43 +00:00
s3lph
fe83b2017c Fixed some minor type annotation issues. 2018-07-15 00:55:39 +02:00
s3lph
2169e50c23 Fixed staging branch regex in GitLab CI config. 2018-07-15 00:26:37 +02:00
s3lph
fbfa172e2b Removed a dangling branch name from the CI config. 2018-07-15 00:25:22 +02:00
s3lph
b9fe412415 Merge branch 'alpine-image' into 'staging-unstable'
Rewrote the staging image Dockerfile to use an Alpine-based image instead of the Debian image.

See merge request s3lph/matemat!15
2018-07-14 22:23:34 +00:00
s3lph
86e0b3a6c7 Rewrote the staging image Dockerfile to use an Alpine-based image instead of the Debian image. 2018-07-15 00:07:25 +02:00
s3lph
c416cac03a Merge branch 'master' into staging-unstable 2018-07-14 23:48:31 +02:00
s3lph
2dcb8dc619 Merge branch '10-builtin-sqlite3' into 'master'
Resolve "Get rid of APSW"

Closes #10

See merge request s3lph/matemat!14
2018-07-14 21:47:16 +00: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
8da1746d0c Merge branch '11-static-cache' into 'master'
Resolve "Caching of Static Resources"

Closes #11

See merge request s3lph/matemat!13
2018-07-14 21:08:26 +00: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
582bef44fd Touchkey now works on mobile browsers. 2018-07-14 22:48:27 +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
5f2464b023 Merge branch '6-unified-logging' into 'master'
Resolve "Unified Logging"

Closes #6

See merge request s3lph/matemat!12
2018-07-14 11:18:37 +00: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
b2a88c5814 Renamed DO-NOT-MERGE-horrible-webapp branch to staging-unstable. 2018-07-13 22:15:45 +02:00