Guillaume Ayoub
4fa53d15b3
Fix the auth checking algorithm
2012-08-09 14:15:20 +02:00
Guillaume Ayoub
e33ee8ea7c
Small fixes
2012-08-08 18:54:58 +02:00
Guillaume Ayoub
e14bed9f95
Add rights section in config module
2012-08-08 18:45:55 +02:00
Guillaume Ayoub
b4a7ada5f2
is_authorized returns True when no auth method is set
2012-08-08 18:44:25 +02:00
Guillaume Ayoub
45afac5353
Code cleaned and modules renamed
...
*Radicale is probably broken now*
2012-08-08 18:29:09 +02:00
Guillaume Ayoub
a17ad1b6a3
Un-revert some lost commits
2012-08-08 16:37:18 +02:00
Matthias Jordan
55a13d4c39
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
radicale/__init__.py
radicale/acl/courier.py
2012-08-04 11:27:51 +02:00
Guillaume Ayoub
7d06d1b4d5
Version set to "git"
2012-08-03 14:37:40 +02:00
Guillaume Ayoub
0cf9b92ce7
Version 0.7.1
2012-08-03 14:37:02 +02:00
Guillaume Ayoub
7ae764fd4b
Enhance readability according to PEP8
2012-08-03 14:08:11 +02:00
Guillaume Ayoub
f593ab0fbd
Set the maximuml line length to 79 instead of 80
2012-08-03 13:55:52 +02:00
Matthias Jordan
e40e68b528
Separation of authentication and authorization. Separation of read and write authorization.
...
Static test strategies for authentication. Barely tested. Use at your own risk!
2012-08-03 13:10:20 +02:00
Guillaume Ayoub
a7481a0546
Clean the server's __call__ method, with comments and better variable names
2012-08-03 11:52:30 +02:00
Guillaume Ayoub
9d193b6b30
Don't start Radicale when PID file exists ( fixes #890 )
2012-08-03 00:29:06 +02:00
Guillaume Ayoub
83baebd750
PEP8 and cleanup for the new IMAP ACL module
2012-07-16 19:09:35 +02:00
Daniel Aleksandersen
e2d9f79dc4
Default config values for IMAP ACL
...
Hostname ``localhost``on port ``143`` (standard port).
2012-07-05 20:54:33 +02:00
Daniel Aleksandersen
360d4e6411
New IMAP ACL
...
Secure authentication based on the ``imaplib`` module.
Validating users against a modern IMAP4rev1 server that awaits STARTTLS
on port 143. Legacy SSL (often on legacy port 993) is deprecated and
thus unsupported. STARTTLS is enforced except if host is ``localhost``
as passwords are sent in PLAIN.
Python 3.2 or newer is required for TLS.
2012-07-05 20:52:10 +02:00
Daniel Aleksandersen
a45b7b7c23
Return the group database entry
2012-07-04 15:56:15 +03:00
Guillaume Ayoub
5a260d33db
Merge pull request #6 from antonyc/patch-1
...
Fix typo in config file for htpasswd* entries
2012-07-02 04:43:14 -07:00
Benjamin Frank
03fc5fc526
Fix Courier ACL
...
Replaced blacklisting approach with a whitelisting on, thus preventing access
due to responses from authlib not containing the word 'FAIL', e.g. empty ones
(see http://www.courier-mta.org/authlib/README_authlib.html#authpipeproto )
2012-07-02 13:30:28 +02:00
Guillaume Ayoub
ea94ec919e
Use the right namespace for adressbook tags
2012-06-28 11:28:42 +02:00
antonyc
c0ed505f78
I tried to start a dev installation with htpasswd and found this typo.
2012-06-23 01:01:45 +04:00
Guillaume Ayoub
cff6c2b43b
Return 204 response when an item is modified
2012-06-22 12:29:49 +02:00
Guillaume Ayoub
e471d15f00
Merge branch 'master' of github.com:Kozea/Radicale
2012-06-14 16:36:20 +02:00
Guillaume Ayoub
25c3648d75
Add a dummy filter for item tags
...
Related to #53
2012-06-14 16:35:32 +02:00
Oskari Timperi
209b9e4307
Set the D:displayname for collections in PROPFIND response
...
Atleast Nokia N9 shows the displayname to user. If the
property is empty, a calendar with empty name is shown.
Which is annoying.
2012-05-24 12:48:48 +03:00
Guillaume Ayoub
b5e94598e9
No etag returned when an added item doesn't have the same name as the one given by the client ( closes #799 )
2012-04-27 16:03:14 +02:00
Guillaume Ayoub
ca5c0483b0
Return 200 instead of 204 status for DELETE requests ( closes #802 )
2012-04-18 14:00:20 +02:00
Guillaume Ayoub
c3ce8fde38
In PROPFIND responses, add the not-yet-created collection type when it can be guessed
...
Maybe related to #795
2012-04-11 19:50:18 +02:00
Guillaume Ayoub
f6ace2b6ec
Fix a bug with DELETE requests when deleted item is not found
2012-03-21 11:26:06 +01:00
Guillaume Ayoub
085c9f0aca
Update the version to "git"
2012-03-20 18:45:12 +01:00
Guillaume Ayoub
d274044700
Version 0.7
2012-03-20 18:36:34 +01:00
Guillaume Ayoub
a9c74ae84d
Always allow OPTIONS requests ( fixes #780 )
2012-03-20 13:31:10 +01:00
Guillaume Ayoub
505fd6a644
List the aggregation of privileges instead of only "all"
2012-03-19 12:35:39 +01:00
Guillaume Ayoub
cc23d9dd8d
Small cleanup about LDAP
2012-03-13 10:47:01 +01:00
Guillaume Ayoub
3bfd6352b2
Merge pull request #3 from koppor/master
...
Added support for custom filters at LDAP
2012-03-13 02:42:37 -07:00
Guillaume Ayoub
344f87d8fb
Add a config key to ignore reverse DNS ( fixes #779 )
2012-03-13 09:35:01 +01:00
Oliver Kopp
0c2bbb8ae1
LDAP: custom filters supported
2012-03-10 21:59:06 +01:00
Guillaume Ayoub
7bfc17a51d
Use " instead of ' (you can laugh at me)
2012-03-01 10:40:15 +01:00
Guillaume Ayoub
36918232c0
Better detection of vcards
2012-02-23 16:20:21 +01:00
Guillaume Ayoub
f37c3a0b27
Let GET requests create address books too!
2012-02-23 16:16:14 +01:00
Guillaume Ayoub
22e4e3764c
Explicitely create collections on GET requests
2012-02-23 15:28:45 +01:00
Guillaume Ayoub
128a20714b
Use is_leaf and is_node instead of is_item and is_collection
2012-02-23 15:17:59 +01:00
Guillaume Ayoub
5e8dec6683
Ignore the .props when giving children
2012-02-20 17:45:47 +01:00
Guillaume Ayoub
224d0d47e8
Fix the collection detection
2012-02-20 17:41:36 +01:00
Guillaume Ayoub
97f8738465
Return the collections and the items in collections
2012-02-20 16:32:42 +01:00
Guillaume Ayoub
d256a0551c
Fix an indentation bug
2012-02-20 16:32:32 +01:00
Guillaume Ayoub
f9d041ba6b
Use relative imports for acl and storage modules
2012-02-08 16:56:58 +01:00
Guillaume Ayoub
8dcc613f0a
Don't use the VADDRESSBOOK tag anymore ( closes #667 )
2012-02-03 18:01:03 +01:00
Guillaume Ayoub
9ebb143c44
Work around a bug in Evolution ( fixes #664 )
2012-02-03 15:58:08 +01:00
Guillaume Ayoub
4893f94920
Clean the calendar-timezone proppatch setter
2012-01-25 20:23:37 +01:00
Guillaume Ayoub
cd33a6cc51
Reconnect to the LDAP server when the connexion is lost ( fixes #656 )
2012-01-25 19:19:02 +01:00
Guillaume Ayoub
4299348776
Change "calendar" into "collection" when needed.
...
WARNING: the default folders storing calendars/addressbooks have been changed
2012-01-25 14:53:46 +01:00
Guillaume Ayoub
d5b1cdcbf2
Add the tag when writing calendars ( closes #658 )
2012-01-25 14:43:47 +01:00
Guillaume Ayoub
54aa8817e7
Add the "set_mimetype" method forgotten during the merge ( closes #657 )
2012-01-25 14:40:28 +01:00
Guillaume Ayoub
9c4a85ef1f
Merge branch 'carddav', and update copyright dates
...
Conflicts:
radicale/__init__.py
radicale/ical.py
radicale/xmlutils.py
2012-01-23 16:21:30 +01:00
Guillaume Ayoub
6eb9b21aac
Merge branch 'git'
2012-01-23 15:50:17 +01:00
Guillaume Ayoub
5b680d1400
Remove brackets inserted in UIDs by Outlook
2012-01-18 17:47:18 +01:00
Guillaume Ayoub
022b2aa91f
Clean and reorder calendar functions
2012-01-12 02:39:47 +01:00
Guillaume Ayoub
b1414c152d
Split the storage filesystem backend into another file
2012-01-12 02:18:06 +01:00
Guillaume Ayoub
a4a52c71d2
Use a clean way to manage calendars and address books different serialization
2012-01-06 19:42:20 +01:00
Guillaume Ayoub
1dfa887384
Fix the GET and REPORT requests for vcards
2012-01-06 19:01:52 +01:00
Guillaume Ayoub
fd3eacfe01
Ignore .props files for collections children
2012-01-05 22:56:59 +01:00
Guillaume Ayoub
bff01db29b
Manage addressbook-multiget and address-data
2012-01-05 21:58:50 +01:00
Guillaume Ayoub
f11e78a3f4
Answer addressbook-home-set, fix the collection children detection
2012-01-05 21:49:34 +01:00
Guillaume Ayoub
b56db741f4
Add support for Evolution VCard WebDAV
2012-01-04 19:47:34 +01:00
Guillaume Ayoub
8a4be02075
Add a (not tested) CardDAV support
2011-12-31 13:31:22 +01:00
Guillaume Ayoub
f2d491ea61
Remove double slashes in report href URLs (related to #618 )
2011-12-07 12:38:45 +01:00
Guillaume Ayoub
1f2f39a87a
DELETE requests can delete calendars ( closes #514 )
2011-11-29 17:41:08 +01:00
Guillaume Ayoub
74c16e6402
Use a simple getattr to get the LDAP scope
2011-11-29 12:58:28 +01:00
Gerhard Schmidt
5d55b2868f
Add the support of the LDAP scope configuration
2011-11-29 12:54:38 +01:00
Guillaume Ayoub
a2128a4787
Pylint cleanups
2011-11-04 22:30:17 +01:00
Guillaume Ayoub
756c4aaf7e
Put the executable script in the radicale package
...
Conflicts:
NEWS.rst
2011-11-03 17:49:00 +01:00
Guillaume Ayoub
14a6cd10b4
Fix a try/catch
2011-10-27 13:26:05 +02:00
Guillaume Ayoub
12bb8a287a
Add default config keys for additional auth modules
2011-10-24 18:02:40 +02:00
Guillaume Ayoub
fe0f3020a4
Stop being stupid for report requests
2011-10-24 13:14:56 +02:00
Guillaume Ayoub
0cdc5b06da
Catch the exception instead of (errno, message)
2011-10-04 06:42:08 +02:00
Guillaume Ayoub
fc166da8ba
Use the "as" keyword for exception mathing in a try/except block
2011-10-04 06:34:46 +02:00
Guillaume Ayoub
3689944372
Add a logger for answer status
2011-10-03 13:52:56 +02:00
Guillaume Ayoub
7560f26eb7
Fix the MOVE request (related to #587 )
2011-10-03 13:52:22 +02:00
Guillaume Ayoub
0b71acabe6
Add an empty line (it's a source of stress for me, I'm sorry)
2011-10-03 00:34:01 +02:00
Guillaume Ayoub
e545df5722
Only set the principal tag for root folders (related to #580 )
2011-09-25 21:16:24 +02:00
Guillaume Ayoub
160e296ed1
Turn backslashes into slashes on Windows ( fixes #581 )
2011-09-25 19:41:24 +02:00
Guillaume Ayoub
4d97758e34
Support repeating events ( fixes #574 )
2011-09-04 22:54:13 +02:00
Guillaume Ayoub
fb9571dfbe
Test if the SSL files can be read
2011-08-29 16:07:30 +02:00
Guillaume Ayoub
6ef7e1857a
Clean the PAM and Courier acls
2011-08-29 11:54:21 +02:00
Guillaume Ayoub
ae5a68fa6a
Merge branch 'master' into auths
2011-08-29 10:02:01 +02:00
Guillaume Ayoub
7180a0948a
Set the version to "git", let's add some funky stuff into the 0.7 version!
2011-08-27 13:33:25 +02:00
Guillaume Ayoub
5c66241346
0.6.1 version
2011-08-27 13:29:38 +02:00
Guillaume Ayoub
4b87cb9181
Avoid the redirection loop ( fixes #571 )
2011-08-25 14:28:37 +02:00
Guillaume Ayoub
5f26c131a9
Redirect authenticated users with no calendar found
2011-08-21 16:30:59 +02:00
Guillaume Ayoub
5137709801
Don't redirect good but unauthorized users ( fixes #571 )
2011-08-21 14:59:43 +02:00
Henry-Nicolas Tourneur
8f864f3e96
Removing old header comment
2011-08-14 20:51:41 +02:00
Henry-Nicolas Tourneur
7e8838c430
Initial code for the Courier-Authdaemon authentication module
2011-08-14 20:49:10 +02:00
Henry-Nicolas Tourneur
3a134c44c6
Documentation header update
2011-08-14 20:21:38 +02:00
Henry-Nicolas Tourneur
82bd62e21c
Initial code for PAM ACL module
2011-08-14 19:52:44 +02:00
Guillaume Ayoub
e4523bf862
Clean the "Radicale works!" message, put it in the "get" method
2011-08-09 14:35:34 +02:00
Guillaume Ayoub
50cdbf6efb
Fix bug with sha1 passwords ( closes #570 )
2011-08-09 11:34:10 +02:00
Fabien LOISON
9179e5562a
Display an 'It Works' message when the root URL is requested with the GET method
2011-08-04 18:13:52 +02:00
Guillaume Ayoub
6e454afe1b
Preparing next version
2011-07-31 23:20:56 +02:00
Guillaume Ayoub
35a2f51a2e
Version 0.6
2011-07-31 23:20:08 +02:00
Guillaume Ayoub
58cdbf7450
Remove environment variables from logs only if they are in the requests
2011-07-29 10:38:33 +02:00
Guillaume Ayoub
cdae6f04e9
Small pep8 related typo fixes
2011-07-26 09:02:21 +02:00
Guillaume Ayoub
8f488eb6bc
Fix the owner attriubtion for 1+ depth URLs
2011-07-22 15:01:33 +02:00
Guillaume Ayoub
6bbf3f624f
Fix the owner attribution of calendars
2011-07-22 15:00:25 +02:00
Guillaume Ayoub
4a630397ce
Fix the HEAD request
2011-07-21 17:06:00 +02:00
Guillaume Ayoub
753ade5efc
Add a status string for unknown status numbers
2011-07-20 23:37:18 +02:00
Guillaume Ayoub
5ea41e5f4b
Fix the Python 3 support of pretty_xml
2011-07-20 23:14:00 +02:00
Guillaume Ayoub
0a84905383
Add a .pylintrc file, clean code
2011-07-14 11:23:19 +02:00
Marten Gajda
380acebd71
Add support for the Caldav-Sync Android client
2011-07-14 11:04:41 +02:00
Guillaume Ayoub
3356d3235f
Add the XML declaration
2011-07-07 12:38:56 +02:00
Guillaume Ayoub
e9ad9b1716
Fix the iCal support (now tested with iCal, Lightning, Evolution)
2011-07-01 17:49:01 +02:00
Guillaume Ayoub
d17e8fa990
Don't use the environ user variable, pass user to all the methods functions
2011-06-30 18:22:47 +02:00
Guillaume Ayoub
3d7f07dc0c
Fix the href URL in propfind
2011-06-30 18:05:24 +02:00
Guillaume Ayoub
49ba07db5a
Add support of the MOVE method (not tested yet)
2011-06-29 23:57:56 +02:00
Guillaume Ayoub
73390c922e
Sort the methods in the server class
2011-06-29 11:04:09 +02:00
Guillaume Ayoub
21d435b560
Minor typo fixes
2011-06-16 10:40:30 +02:00
Guillaume Ayoub
1d67706b56
Clean the calendar paths
2011-06-16 10:39:36 +02:00
Guillaume Ayoub
af10a2f1c4
Fix URLs in report requests
2011-06-16 07:54:55 +02:00
Guillaume Ayoub
de0643e741
Fix propfind paths
2011-06-16 07:50:21 +02:00
Guillaume Ayoub
87a4a4e012
Merge branch 'master' into lightning
2011-06-15 23:22:49 +02:00
Pieter Naaijkens
00d8b08341
Merge URI sanitize fix
2011-06-15 23:21:26 +02:00
Guillaume Ayoub
264bc66051
Merge branch 'master' into lightning
2011-06-13 23:01:42 +02:00
Guillaume Ayoub
da42112740
Allow the `None
` value for public and private calendars
2011-06-13 22:32:47 +02:00
Guillaume Ayoub
f9836ab093
Clean support of public calendars, add support of private calendars
2011-06-13 22:15:52 +02:00
Guillaume Ayoub
3149643706
Log "nobody" instead of "None" as anonymous calendars owner.
2011-06-11 18:14:08 +02:00
Guillaume Ayoub
fe71b34697
Use 'key in dict' instead of 'dict.get(key)'
2011-06-08 08:20:37 +02:00
Guillaume Ayoub
b8bcf65785
Restore the Lightning + anonymous calendars support
2011-06-08 07:43:40 +02:00
Roberto De Ioris
4bd425608d
get config filename from env variable RADICALE_CONFIG
2011-06-07 17:44:53 +02:00
Guillaume Ayoub
ec9e410659
Clean a docstring
2011-06-05 12:52:24 +02:00
Guillaume Ayoub
080e4984aa
Don't use isinstance(root, ET.Element) as ET.Element is a function in Python 2.6
2011-06-05 12:47:45 +02:00
Guillaume Ayoub
e9935ae1a6
Use % instead of format for consistency (and Python 2.6 support)
2011-06-05 12:34:50 +02:00
Guillaume Ayoub
dd6063ccb6
Give an UID if none has already been set
2011-06-05 12:31:00 +02:00
Guillaume Ayoub
fadd5dd675
Minor documentation and typo fixes caused by my insane love for PEP-3101 and pylint
2011-06-02 20:15:07 +02:00
Lukasz Langa
f7868afed1
iCal bootstrapping using a default URL works
2011-06-01 22:33:18 +02:00
Lukasz Langa
1510e6c194
Create directories for .props as well.
2011-06-01 18:59:53 +02:00
Lukasz Langa
537d6b6fd2
Create the directory structure if none found.
2011-06-01 18:22:26 +02:00
Lukasz Langa
1e6a4e7fb4
timezone is a part of the VCALENDAR file
2011-06-01 17:46:46 +02:00
Lukasz Langa
31edc1b03d
explicit component content-types for iCal
2011-06-01 16:22:36 +02:00
Lukasz Langa
710b518b0f
Without the newline iCal complains in the logs:
...
11-06-01 16:11:06 iCal[12955] Unexpected EOF, returning last token as fallback
2011-06-01 16:21:03 +02:00
Lukasz Langa
5b9180c295
The owner field should be an URL. Fixes delays in iCal.
2011-06-01 15:30:47 +02:00
Lukasz Langa
8bcdb5b1dc
py3k-compatible next() used. Works with 2.6-2.7 as well.
2011-06-01 14:22:15 +02:00
Lukasz Langa
e05e94a129
preliminary iCal/iPhone support introduced
2011-06-01 12:43:49 +02:00
Lukasz Langa
911cd48efe
proppatch actually writes properties.
2011-05-24 17:33:57 +02:00
Lukasz Langa
85e283830a
MKCALENDAR now actually creates the calendar.
2011-05-24 16:12:35 +02:00
Lukasz Langa
b230601ee2
elementtree in Python 2.x would rather receive encoded strings.
2011-05-24 15:09:37 +02:00
Guillaume Ayoub
ca9c148705
Set calendars always personal with authentication activated
2011-05-17 00:10:36 +02:00
Guillaume Ayoub
7c0e9686a8
Minor typo fix
2011-05-15 19:53:40 +02:00
Guillaume Ayoub
06f1987975
Add an option to store PID in daemon mode
2011-05-13 22:50:55 +02:00
Guillaume Ayoub
bd2c50dadf
Log user login instead of calendar owner for sucessful accesses
2011-05-13 22:26:53 +02:00