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
d3776e55fb
Rework XML helpers functions
...
- Merge make_tag, tag_from_clark and tag_from_human into make_clark and make_human
- Don't use RegEx for parsing
2020-01-19 21:07:54 +01:00
Unrud
262d76cc87
Don't return empty PROPSTAT elements in PROPFIND responses
...
This should not have any impact on clients.
2020-01-19 21:07:54 +01:00
Unrud
e11661ff3e
Protect against XML DOS attacks
...
Only XML content from authenticated users is parsed.
2020-01-19 21:07:54 +01:00
Unrud
562d3aacec
Add unicode support to htpasswd
2020-01-19 21:07:54 +01:00
Unrud
6108d8d759
Remove unsecure methods from htpasswd and make md5 default
2020-01-19 21:07:54 +01:00
Unrud
0a5fd94577
Tests: Improve whitespace tests for htpasswd
2020-01-19 21:07:54 +01:00
Unrud
866aa34f54
Cosmetic changes
2020-01-19 21:07:54 +01:00
Unrud
e07df9fd1d
Prefix internal attributes with underscore
2020-01-19 21:07:54 +01:00
Unrud
0fb02cd026
Cosmetic changes (pylint)
2020-01-17 12:59:14 +01:00
Unrud
7aca052859
Remove unused variable
2020-01-17 05:00:31 +01:00
Unrud
b4230c4249
Extract method prepare
2020-01-17 05:00:31 +01:00
Unrud
8f55ab858c
Improve documentation
2020-01-17 05:00:30 +01:00
Unrud
f844bbacda
Web: Show startup loading message
2020-01-16 04:39:22 +01:00
Unrud
1ef067c7e9
Web: Replace attribute name with data-name
2020-01-16 03:58:31 +01:00
Unrud
d7c7d694e0
Web: Use class "hidden" instead of overwriting style
2020-01-16 03:58:30 +01:00
Unrud
1e27581afd
Web: Remove unnecessary tags
2020-01-16 03:58:30 +01:00
Unrud
60de01870e
Web: Use let and const instead of var
2020-01-16 03:58:29 +01:00
Unrud
ed72e697de
Tests: Use absolute imports
2020-01-15 18:44:00 +01:00
Unrud
428e4be0b8
Workaround for bug in Lightning ( fixes #985 )
2020-01-15 11:22:52 +01:00
Unrud
c99a1f53df
Switch from md5 to sha256 for UIDs and tokens
2020-01-15 11:20:48 +01:00
Unrud
1bd93a2947
Fix filesystem folder creation
2020-01-15 06:39:59 +01:00
Unrud
41a91f7da1
Optional config source description
2020-01-15 03:19:44 +01:00
Unrud
514cd2b7cd
Test default sync implementation
2020-01-15 01:27:41 +01:00
Unrud
0cd95f8a39
Rename loader to load_plugin
2020-01-15 00:33:21 +01:00
Unrud
a8a1fc470b
Allow boolean raw_value for boolean config entries
2020-01-15 00:33:21 +01:00
Unrud
8543f3ea1d
Extract method loader()
2020-01-14 22:43:48 +01:00
Unrud
040d8c0fff
Split BaseCollection into BaseStorage and BaseCollection
2020-01-14 06:19:23 +01:00
Unrud
1453c0b72c
Mark attributes for internal use with underscore
2020-01-14 06:19:11 +01:00
Unrud
9b51e495ea
Allow --config parameter multiple times
2020-01-13 15:51:11 +01:00
Unrud
2e4924a0da
Improve documentation
2020-01-13 15:51:10 +01:00
Unrud
88a0af8ba1
Improve documentation
2020-01-12 23:32:28 +01:00
Unrud
6202257fc2
Fix variable naming to conform with PEP-8
...
Originally proposed by @ZipFile in #998
2020-01-12 23:32:28 +01:00
Unrud
d3d11d0ec8
Report internal config sources
2020-01-12 23:32:27 +01:00
Unrud
967b6a463d
Remove unnecessary optimizations
2020-01-12 23:32:27 +01:00
Unrud
caf5ff1080
Change default value for external users
2020-01-12 23:32:26 +01:00
Unrud
a7f4ffa7d4
Rename Configuration.inspect to log_config_sources
...
The old name was misleading.
2020-01-12 23:32:25 +01:00
Unrud
b7590f8c84
Rework configuration
2019-06-17 04:18:09 +02:00
Unrud
63e6d091b9
Update copyright
2019-06-17 04:13:24 +02:00
Unrud
14b46c04bf
Create configuration for isort
2019-06-15 09:01:55 +02:00
Braxton Plaxco
27185f7291
Get python3 ./setup.py test
to pass cleanly
...
~ B'ezrat Hashem ~
2019-06-15 08:49:05 +02:00
Unrud
55cd363f10
remove unused variables
2018-11-04 18:54:10 +00:00
Unrud
edc20ed510
Implement fallback for multiprocessing module
...
module is not working on Android
2018-11-03 21:51:09 +00:00
Unrud
e5c4373606
Test MOVE between collections
2018-11-03 21:19:36 +00:00
Unrud
818c9e273e
more rights tests
2018-09-18 21:05:04 +02:00
Unrud
73338ac20b
use correct module
2018-09-18 21:04:58 +02:00
Unrud
6e19ed893a
show module name in error message
2018-09-18 21:04:57 +02:00
Unrud
6b9fc870c2
BaseServer doesn't have __exit__ in Python < 3.6
2018-09-09 15:19:48 +02:00
Unrud
93c1581e21
tests: enable debugging for new processes
2018-09-09 15:19:48 +02:00
Unrud
f1de843188
test WSGI server
2018-09-09 14:58:51 +02:00
Unrud
171651e205
test command line interface
2018-09-09 14:58:44 +02:00
Unrud
a146521500
test storage verification
2018-09-09 14:58:44 +02:00
Unrud
515a5c9d18
cosmetics
2018-09-09 14:58:43 +02:00
Unrud
ea7916e0fa
cls.logger no longer exists
2018-09-09 14:58:43 +02:00
Unrud
95d8c273c4
restore EAI_ADDRFAMILY after test
2018-09-09 14:58:42 +02:00
Unrud
e4ee569bd2
Measure coverage of forked processes
2018-09-09 07:28:36 +02:00
Unrud
ae99584a7b
Modify OpenSSL's RNG after fork
...
https://docs.python.org/3.7/library/ssl.html#multi-processing
2018-09-09 07:28:36 +02:00
Unrud
7002d06f4d
remove unused extra_config argument
2018-09-09 07:28:35 +02:00
Unrud
4fb851c80e
cleanup and wait for child processes
2018-09-08 14:57:55 +02:00
Unrud
1a26df865c
passlib: use hash() instead of deprecated encrypt()
2018-09-08 14:57:55 +02:00
Unrud
94bb4fbdae
Tests: generalize IPv6 detection
2018-09-08 09:24:46 +02:00
Unrud
7760f4edf0
Travis doesn't support IPv6 on osx and linux with sudo
2018-09-06 10:52:27 +02:00
Unrud
8fe2d987e0
Use IP instead of hostname localhost
2018-09-06 10:52:27 +02:00
Unrud
9d72341df2
Use CRITICAL level for start-up failures
2018-09-06 09:12:54 +02:00
Unrud
9b029ac084
use one application for all hosts
2018-09-06 09:12:53 +02:00
Unrud
dec2ad8bea
Add support for IPv6 hostnames
2018-09-06 09:12:53 +02:00
Unrud
2275ba4f93
Add support for systemd socket activation
2018-09-06 09:12:52 +02:00
Unrud
f1a587e9d7
cosmetics
2018-09-06 09:12:52 +02:00
Unrud
e0eeae02dd
Modify socket in server_bind()
2018-09-06 09:12:51 +02:00
Unrud
9c802e0f57
skip ambiguous isort modules
2018-09-05 11:37:18 +02:00
Unrud
901c5d059f
only use forking on posix
2018-09-05 11:37:18 +02:00
Unrud
35484c9b79
Refactor multifilesystem
2018-09-04 03:33:50 +02:00
Unrud
f2d63ad7f7
Remove duplicate docstring
2018-09-04 03:33:49 +02:00
Unrud
979414ce85
Move get_filtered to BaseCollection
2018-09-04 03:33:48 +02:00
Unrud
5e0a387ed9
remove whitespace before email
2018-09-04 03:33:47 +02:00
Unrud
5a433f5476
Test internal server
2018-09-04 03:33:45 +02:00
Unrud
49d35cf618
Delay SSL handshake
2018-09-04 03:33:43 +02:00
Unrud
17127d97a6
Test web plugin
2018-09-04 03:33:42 +02:00
Unrud
6fc69b480f
Never skip sync token tests
2018-09-04 03:33:42 +02:00
Unrud
aec2a62931
remove unused methods from storage interface
2018-09-04 03:33:39 +02:00
Unrud
a8c587f984
Remove implementation for storage.move()
2018-09-04 03:33:38 +02:00
Unrud
8a817cf402
Copy configuration before modifying
2018-09-04 03:33:36 +02:00
Unrud
5429f5c1a9
assert sanitized and stripped paths
2018-08-28 16:19:50 +02:00
Unrud
c08754cf92
Don't overwrite attributes of classes
2018-08-28 16:19:49 +02:00
Unrud
6c12b13ec1
reduce default parallel connections to 8
2018-08-28 16:19:48 +02:00
Unrud
8869b34470
refactor
2018-08-28 16:19:43 +02:00
Unrud
1bdc47bf44
Make predefined rights plugins more restrictive and remove NoneAuth
...
Collections with tag are only allowed as direct children of a principal collections.
2018-08-21 18:43:48 +02:00
Unrud
2cb7060539
Rename storage.Item.item to vobject_item
2018-08-21 18:43:47 +02:00
Unrud
75c1168f54
Remove getattr from storage.Item
2018-08-21 18:43:46 +02:00
Unrud
e098046ad3
Process data before and after the storage is locked
2018-08-21 18:43:46 +02:00
Unrud
0a492a00b1
Allow finer control in rights plugin
...
New permissions:
R: read collections without tag
r: read collections with tag and included objects
W: write and delete collections without tag
w: write and delete collection with tag and included objects
2018-08-21 18:43:45 +02:00
Unrud
72501c6e23
only set level on "radicale" logger
2018-08-21 18:43:45 +02:00
Unrud
09644414b5
set logging level to DEBUG for tests
2018-08-21 18:43:44 +02:00
Unrud
aec94cc5b3
Never create collection without tag via PUT
2018-08-21 18:43:43 +02:00
Unrud
464e4ca920
remove unused code
2018-08-21 18:43:42 +02:00
Unrud
c845c5a372
don't focus login formular when refreshing
...
Prevents browsers from showing saved credentials
2018-08-21 18:43:42 +02:00