Commit Graph

1193 Commits

Author SHA1 Message Date
c459d32a19 Use argparse to parse command arguments
This commit also allows users to specify all the config values through
the command line.

Fix #154.
2016-10-12 14:30:18 +02:00
6d76cfa5aa use dash instead of underscore in options as well 2016-10-12 10:48:14 +02:00
fb3e733596 use dash instead of underscore 2016-10-12 10:44:13 +02:00
d6ee788ff5 comment… 2016-10-11 18:22:26 +02:00
ca2d519345 use group exclusively except for config 2016-10-11 18:21:17 +02:00
11710f75a8 allow config override from commandline 2016-10-11 18:17:01 +02:00
0c1dbc30bd Log read objects 2016-09-16 14:13:53 +02:00
ecb8a99ed1 Merge branch 'master' of github.com:Kozea/radicale 2016-09-16 14:12:36 +02:00
2c938ea67a Don't log when skipping .Radicale* files
Patch proposed by @pbiering.
2016-09-16 14:12:05 +02:00
4f44c46be7 Merge pull request #515 from Unrud/patch-3
Fix BaseCollection.move
2016-09-15 12:55:21 +02:00
def34b1454 Fix BaseCollection.move
The update method doesn't exist.
2016-09-15 11:18:55 +02:00
e95d187cbc Merge pull request #509 from Unrud/patch-2
Set password to empty string instead of None
2016-09-07 16:08:37 +02:00
dc94a5a4b7 Merge pull request #510 from Unrud/log
Improve formatting of log messages
2016-09-07 16:08:11 +02:00
d371179487 thread and level in simple log formatter
The log messages are a mess without any allocation to threads.
2016-09-04 11:47:27 +02:00
26e58cee56 Use hexadecimal for thread
Old: ... - 139891659843328 - INFO: Starting Radicale
New: ... - [7f3b10b12700] INFO: Starting Radicale
2016-09-04 11:43:35 +02:00
fe5daf801a Set password to empty string instead of None
Prevent exception in auth module.
2016-09-03 10:01:52 +02:00
b85fc5bed6 Merge pull request #507 from Unrud/auth
Repair and test authentication
2016-09-02 18:36:31 +02:00
ae2c447dca Merge pull request #508 from Unrud/testheader
Test custom header
2016-09-02 16:05:55 +02:00
9e27d4e2a8 Emulate fullmatch with match
re.fullmatch was introduced in Python 3.4
2016-09-02 15:06:32 +02:00
b25a601e28 Test custom header 2016-09-02 14:52:45 +02:00
11df2f1184 Test authentication
Test for 2a9f37defb
2016-09-02 14:42:22 +02:00
2a9f37defb Repair authentication 2016-09-02 14:41:31 +02:00
88d558f9fa Remove useless nested tuples 2016-09-02 11:05:35 +02:00
68e1e9dfb2 Don't use mutables in constants or parameters 2016-09-02 11:04:29 +02:00
e6433ec970 Merge pull request #506 from Unrud/patch-1
Move encoding of answer into response function
2016-09-02 10:58:45 +02:00
20b1480399 Make copy of headers before mutating 2016-09-02 04:23:47 +02:00
f7e995f9f6 Move encoding of answer into response function
Fix #505
2016-09-02 04:10:11 +02:00
085c6fcbeb Merge pull request #503 from Unrud/tests2
Test REPORT on an item and authorization
2016-09-01 09:43:51 +02:00
3df367aad2 Test REPORT on item
Test for 90e4655a44
2016-09-01 06:17:18 +02:00
9d2743d797 Test authorization 2016-09-01 06:15:31 +02:00
e25373fa85 Merge pull request #501 from Unrud/httperrors
HTTP error messages
2016-08-31 14:49:19 +02:00
8d92b371e4 Merge pull request #502 from Unrud/patch-40
Plain text for GET / instead of malformed HTML
2016-08-31 14:42:59 +02:00
db681da08e Merge pull request #500 from Unrud/loginuser
Map logins to internal users in Auth module
2016-08-31 14:40:08 +02:00
f875bcd892 Plain text for GET / instead of malformed HTML
It's basically the same in browsers and looks nicer in tools that don't support HTML rendering (like curl).
2016-08-31 02:01:18 +02:00
ff2b8f6e5c Use NOT_FOUND instead of GONE
Thunderbird doesn't recognize the status code correctly and shows an synchronization error.
2016-08-31 01:54:31 +02:00
1ea9b1dca9 Return error for GET requests on directories
Radicale doesn't support directory listings.
2016-08-31 00:45:14 +02:00
4ac2e68f5c Add HTTP error messages
Browsers just show a blank page if an error occurs. You have to open the developer tools to see the HTTP status code. E.g. a user wants to download a calendar in the browser and the URL is wrong.

Some tools like curl don't show any indication of an error.
2016-08-31 00:41:08 +02:00
689e5c9dd5 Map logins to internal users in Auth module
This makes it possible to implement #349 as a Auth module. Another use case would be to encode usernames that contain characters unsupported by the file system.
2016-08-30 23:13:33 +02:00
5f46cc24bd Merge pull request #497 from Unrud/patch-38
Add thread id to log
2016-08-30 19:16:54 +02:00
3c32df3d9a Merge pull request #496 from Unrud/patch-37
Remove empty line in log
2016-08-30 19:16:19 +02:00
b2f11a7c18 Add thread id to log
Make log messages from parallel request allocable.
2016-08-30 14:06:34 +02:00
e782808a14 Remove empty line in log
Separating requests by an empty line doesn't work any longer with parallel (overlapping) requests.
2016-08-30 14:04:16 +02:00
5d9485d660 Merge pull request #495 from untitaker/trailing-slash-fix
Don't return `<item>/` for events
2016-08-29 21:31:25 +02:00
90e4655a44 Don't return <item>/ for events 2016-08-29 17:29:46 +02:00
947c57312c Fix a variable name
Fix #494
2016-08-29 12:09:17 +02:00
34ad1b9073 Remove useless import 2016-08-29 12:07:58 +02:00
fd1742fcea Fix typo 2016-08-29 12:07:30 +02:00
a25374000b Merge branch 'Unrud-remupdate' 2016-08-26 22:50:45 +02:00
9e78454da2 Merge branch 'remupdate' of https://github.com/Unrud/Radicale into Unrud-remupdate 2016-08-26 22:50:26 +02:00
a3dcfaacd6 Merge pull request #491 from Unrud/uploadall
Optimize upload of whole collections
2016-08-26 22:34:46 +02:00