Commit graph

218 commits

Author SHA1 Message Date
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
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
55354deb21 Merge branch '7-configuration-file' into 'master'
Configuration File Support

Closes #7

See merge request s3lph/matemat!10
2018-07-13 20:05:12 +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
95c81608c3 Fixed a second minor issue in the wiki 2018-07-13 01:49:24 +02:00
s3lph
150588e6a9 Fixed a minor issue in the wiki 2018-07-13 01:47:15 +02:00