1
0
Fork 0
forked from s3lph/matemat
Commit graph

463 commits

Author SHA1 Message Date
s3lph
21a927046d Reworked RequestArgument API to somewhat more lax concerning 0-indices, potentially leading to safer code. 2018-06-29 18:29:51 +02:00
s3lph
73c7dbe89f Documentation of RequestArgument test cases. 2018-06-29 18:11:26 +02:00
s3lph
ab9e470c35 Some more type hinting/safety. 2018-06-29 01:22:12 +02:00
s3lph
8898abc77b Documentation of the RequestArgument class. 2018-06-29 01:12:25 +02:00
s3lph
118de8bf95 New request parsing (WIP: Documentation) 2018-06-28 23:58:01 +02:00
s3lph
5bb1dfad21 Fixed a style error 2018-06-27 21:20:36 +02:00
s3lph
f702eccc57 First implementation of multipart/form-data parsing 2018-06-27 21:17:18 +02:00
s3lph
5ccb2c9304 Fixed failing unit tests. 2018-06-20 02:04:35 +02:00
s3lph
3801909408 Added GET and POST array argument tests, and added some docstrings to the tests. 2018-06-20 00:53:06 +02:00
s3lph
12f0a0928d Removed an additional newline that was in violation of PEP8. 2018-06-19 23:55:53 +02:00
s3lph
67db4c654a Added tests for HTTP POST requests. 2018-06-19 23:51:46 +02:00
s3lph
78d347f26c Use unprivileged docker image. 2018-06-19 22:55:37 +02:00
s3lph
17fe381402 Use unprivileged docker image. 2018-06-19 22:54:07 +02:00
s3lph
b06c54e782 GitLab CI: Run unit tests as unprivileged user. 2018-06-19 22:15:18 +02:00
s3lph
617cc2aa6f GitLab CI: Run unit tests as unprivileged user. 2018-06-19 22:11:42 +02:00
s3lph
1f0312fcbd GitLab CI: Run unit tests as unprivileged user. 2018-06-19 21:52:00 +02:00
s3lph
27c264278a GitLab CI: Run unit tests as unprivileged user. 2018-06-19 21:49:56 +02:00
s3lph
3e3d544d90 GitLab CI: Run unit tests as unprivileged user. 2018-06-19 21:47:40 +02:00
s3lph
3b2d8ffa93 Added unit tests for pagelet and static resource serving. 2018-06-19 21:37:56 +02:00
s3lph
0bfd4efab9 Added unit tests for pagelet and static resource serving. 2018-06-19 21:34:48 +02:00
s3lph
2f12403e1f Added two more testcases for session testing. 2018-06-19 20:16:39 +02:00
s3lph
9414b19dc2 More unit tests for the webserver. 2018-06-19 00:03:30 +02:00
s3lph
2f2f6b73e9 Use crypt with SHA512 instead of bcrypt. Going to change to BLOWFISH when adopting Python 3.7. 2018-06-15 22:30:35 +02:00
s3lph
2313237773 Implemented the first webserver unit test. 2018-06-14 01:13:50 +02:00
s3lph
8547dd76ac Added wiki repo as a git submodule in /doc. 2018-06-13 01:46:30 +02:00
s3lph
1314699d11 README: Fixed wiki URL. 2018-06-13 01:38:37 +02:00
s3lph
1d995f2462 Added some more documentation, especially package docs. 2018-06-13 00:52:47 +02:00
s3lph
97b8d8b054 Added lots of code documentation to the httpd module. 2018-06-13 00:00:41 +02:00
s3lph
3caf7d2477 Merge branch 'master' into webserver-impl 2018-06-12 22:06:33 +02:00
s3lph
d7a88ba69c Merge branch 'readme-etc' into 'master'
Added readme and license file.

See merge request s3lph/matemat!5
2018-06-12 20:05:30 +00:00
s3lph
26cb3a88eb Added readme and license file. 2018-06-12 22:01:01 +02:00
s3lph
700af6883f Initial commit for webserver code. Still needs a lot of documentation, and even more, test coverage. 2018-06-12 21:45:50 +02:00
s3lph
2a53952003 Merge branch 'db-doc' into 'master'
Documentation for the MatematDatabase Facade

See merge request s3lph/matemat!4
2018-06-07 12:58:03 +00:00
s3lph
7a8c898ebc Added additional documentation to MatematDatabase. 2018-06-06 14:13:42 +02:00
s3lph
8eda31cbbe Renamed DatabaseFacade to MatematDatabase and added additional documentation. 2018-06-06 13:54:36 +02:00
s3lph
8b98d5383d Added mypy_cache to gitignore. 2018-06-06 13:47:12 +02:00
s3lph
4d07d02c10 Merge branch 'master' into db-doc 2018-06-06 13:37:17 +02:00
s3lph
ac17423e69 Merge branch 'ci-codestyle' into 'master'
PEP8 Codestyle Validation & Type Checking CI Job

See merge request s3lph/matemat!3
2018-06-06 11:33:24 +00:00
s3lph
5b231a0d40 Temporarily disabled mypy, as it doesn't seem to work properly on some occasions:
- native libs (apsw, ...)
- some Union types
- unittest.TestCase.assertRaises with custom exceptions
2018-06-06 13:24:36 +02:00
s3lph
63265e645a Put max-line-length of 120 in pycodestyle config, rather than completely disabling E501. 2018-06-06 13:03:30 +02:00
s3lph
33888fe597 Added lots of missing type annotations. 2018-06-06 12:59:49 +02:00
s3lph
edaf9afc8b Removed an unneeded newline that caused the pycodestyle job to fail. 2018-06-05 22:54:30 +02:00
s3lph
6870ef8f4a pycodestyle: ignore check for lines that are to long, as a max length of 79 gets ugly really quick. 2018-06-05 22:48:31 +02:00
s3lph
4db168b750 Split CI pipeline into 2 stages, added mypy check. 2018-06-05 22:38:42 +02:00
s3lph
82eb4f37f1 Added a codestyle CI job to check for PEP8 compliance. 2018-06-05 22:32:09 +02:00
s3lph
0eb1161d7a Added lots of documentation to the Database Facade. 2018-06-05 22:18:10 +02:00
s3lph
8059765410 Merge branch 'db-tests' into 'master'
Additional unit tests for the Database Facade

See merge request s3lph/matemat!1
2018-06-05 17:34:00 +00:00
s3lph
01b0b95652 Added lots of unit tests for the database facade, and already fixed some bugs. 2018-06-05 19:14:35 +02:00
s3lph
c238e8e9c8 test_facade: Added a login test case 2018-05-30 02:09:32 +02:00
s3lph
411372cc21 Split database class into Facade (matemat database API) and Wrapper (internals). 2018-05-30 01:57:26 +02:00