Commit Graph

1841 Commits

Author SHA1 Message Date
Unrud
8ca01a4989 Fix integrated server on android 2020-04-09 22:01:55 +02:00
Unrud
9c622b57d5 Allow callable in configuration for plugin.type
Example:

```python3
\# Load default configuration
my_config = config.load()

\# Pass a class directly
my_config.update({"auth": {"type": MyAuth}})

\# Pass an object directly
my_rights = MyRights()
my_config.update({"rights": {"type": lambda config: my_rights}})

app = Application(my_config)
````
2020-04-09 22:01:35 +02:00
Unrud
72f8b29190 Fix remaining documentation URLs 2020-03-28 09:36:06 +01:00
Unrud
ea4adff108 Update documentation URL 2020-03-28 08:51:59 +01:00
Unrud
849b84180c Unified gitignore 2020-03-02 02:43:00 +01:00
Unrud
28a4238605 Link to new documentation source 2020-03-01 21:33:26 +01:00
Unrud
ed6bd5a373 Remove trigger for test run from PyPI publish workflow 2020-03-01 00:26:23 +01:00
Unrud
53b1021cf7 Cosmetics 2020-03-01 00:25:41 +01:00
Unrud
645d244c2d
Add workflow for publishing to PyPI [Test] 2020-03-01 00:09:41 +01:00
Unrud
61b7928758
Revert 'Use system python3' 2020-02-29 20:33:44 +01:00
Unrud
1e3afcfe62
Use system python3 2020-02-29 20:06:07 +01:00
Unrud
74abe02b70
Remove unecessary conditions 2020-02-27 19:11:28 +01:00
Unrud
e747e9a34d Remove migration guide 2020-02-27 16:33:17 +01:00
Unrud
3d357de70b Remove news from documentation 2020-02-27 13:53:31 +01:00
Unrud
cf1c9ed648 Cosmetics 2020-02-27 13:50:30 +01:00
Unrud
c38b38eba0 Update generate documentation workflow 2020-02-27 03:53:35 +01:00
Unrud
cfbed8377a Import documentation from 2.1.x 2020-02-27 02:59:56 +01:00
Unrud
5b685d376f Change badge from Travis to Actions 2020-02-25 23:01:04 +01:00
Unrud
5af2c6e69a Actions: Fix condition 2020-02-25 23:01:04 +01:00
Unrud
5c4989f26c Actions: Call Coveralls parallel builds webhook 2020-02-25 22:08:48 +01:00
Unrud
daced78962 Remove travis-ci 2020-02-25 19:33:25 +01:00
Unrud
63167300e6 Actions: Upload coverage 2020-02-25 19:32:50 +01:00
Unrud
bd8393585e Use github actions for tests 2020-02-25 17:27:25 +01:00
Unrud
bd71c04973 Use correct delimiter 2020-02-20 18:29:08 +01:00
Unrud
8373a8961e Update Travis 2020-02-20 16:06:11 +01:00
Unrud
f46a3e3d24 Fix test on MacOS (3) 2020-02-20 11:27:26 +01:00
Unrud
ee984b49d4 Fix test on MacOS (2) 2020-02-20 10:55:00 +01:00
Unrud
363dd79833 Fix test on MacOS 2020-02-20 10:42:50 +01:00
Unrud
d3b632e123 Remove unused code 2020-02-20 10:41:33 +01:00
Unrud
8890a4c030 Handle disabled IPv6 support and workaround for PyPy 2020-02-20 07:57:39 +01:00
Unrud
9603aa3496 Tests: Replace gunicorn with waitress (works on Windows too) 2020-02-20 07:57:39 +01:00
Unrud
941bb157cc Cosmetic changes 2020-02-19 10:01:39 +01:00
Unrud
d8f1565f5b Remove journald support 2020-02-19 09:50:45 +01:00
Unrud
6b46b01fcb Include time in log messages 2020-02-19 09:50:40 +01:00
Unrud
180e96b332 Move internal options to other sections 2020-02-19 09:50:36 +01:00
Unrud
8e3465b5d4 Specify option type in _allow_extra 2020-02-19 09:50:30 +01:00
Unrud
5371be2b39 Mark internal configuration options and sections with underscore 2020-02-19 09:50:27 +01:00
Unrud
0bda1f4c16 Improve error messages 2020-02-19 09:50:25 +01:00
Unrud
66fabbead9 Use socket pairs to communicate with client threads 2020-02-19 09:50:19 +01:00
Unrud
698980d7be Remove forking support
* Third-party plugins have to be fork-safe
* Not supported on Windows
2020-02-19 09:50:02 +01:00
Unrud
3b99d64935 Cosmetic changes 2020-02-19 09:50:00 +01:00
Unrud
cc22927353 Bind sockets for IPv4 and IPv6 2020-02-19 09:49:56 +01:00
Unrud
36483670d4 Refactor: Remove class attributes and subclassing 2020-02-19 09:49:44 +01:00
Unrud
a872b633fb Refactor: Remove method Configuration.log_config_sources 2020-02-19 09:48:42 +01:00
Unrud
11ea3cc7a4 Remove settings for TLS protocol and ciphers
Use the recommended default settings instead.
2020-02-19 09:48:38 +01:00
Unrud
4a43b17840 Remove reverse DNS lookup
It wasn't working for years because the functionality was removed from http.server.
Nobody complained.
2020-02-19 09:48:34 +01:00
Unrud
db7587c593 Cosmetic changes 2020-01-21 19:40:02 +01:00
Unrud
fc180266d5 Improve tests
- Parse and verify XML responses
- Extract methods for common requests
2020-01-20 09:47:51 +01:00
Unrud
a03911f954 Add bcrypt as direct dependency 2020-01-19 21:33:13 +01:00
Unrud
143a404168 Travis-CI: Add PyPy 3 to test matrix 2020-01-19 21:07:54 +01:00