Просмотр исходного кода

Change "calendar" into "collection" when needed.

WARNING: the default folders storing calendars/addressbooks have been changed
Guillaume Ayoub 14 лет назад
Родитель
Сommit
4299348776
4 измененных файлов с 11 добавлено и 11 удалено
  1. 7 7
      config
  2. 1 1
      radicale/__main__.py
  3. 2 2
      radicale/config.py
  4. 1 1
      setup.py

+ 7 - 7
config

@@ -30,7 +30,7 @@ key = /etc/apache2/ssl/server.key
 [encoding]
 # Encoding for responding requests
 request = utf-8
-# Encoding for storing local calendars
+# Encoding for storing local collections
 stock = utf-8
 
 
@@ -39,9 +39,9 @@ stock = utf-8
 # Value: None | htpasswd | LDAP | PAM | courier
 type = None
 
-# Usernames used for public calendars, separated by a comma
+# Usernames used for public collections, separated by a comma
 public_users = public
-# Usernames used for private calendars, separated by a comma
+# Usernames used for private collections, separated by a comma
 private_users = private
 
 # Htpasswd filename
@@ -75,11 +75,11 @@ courier_socket =
 # Storage backend
 type = filesystem
 
-# Folder for storing local calendars, created if not present
-filesystem_folder = ~/.config/radicale/calendars
+# Folder for storing local collections, created if not present
+filesystem_folder = ~/.config/radicale/collections
 
-# Git repository for storing local calendars, created if not present
-filesystem_folder = ~/.config/radicale/calendars
+# Git repository for storing local collections, created if not present
+filesystem_folder = ~/.config/radicale/collections
 
 
 [logging]

+ 1 - 1
radicale/__main__.py

@@ -111,7 +111,7 @@ def run():
     atexit.register(cleanup)
     radicale.log.LOGGER.info("Starting Radicale")
 
-    # Create calendar servers
+    # Create collection servers
     servers = []
     server_class = radicale.HTTPSServer if options.ssl else radicale.HTTPServer
     shutdown_program = threading.Event()

+ 2 - 2
radicale/config.py

@@ -65,9 +65,9 @@ INITIAL_CONFIG = {
     "storage": {
         "type": "filesystem",
         "filesystem_folder":
-            os.path.expanduser("~/.config/radicale/calendars"),
+            os.path.expanduser("~/.config/radicale/collections"),
         "git_folder":
-            os.path.expanduser("~/.config/radicale/calendars")},
+            os.path.expanduser("~/.config/radicale/collections")},
     "logging": {
         "config": "/etc/radicale/logging",
         "debug": "False",

+ 1 - 1
setup.py

@@ -58,7 +58,7 @@ setup(
     packages=["radicale", "radicale.acl", "radicale.storage"],
     provides=["radicale"],
     scripts=["bin/radicale"],
-    keywords=["calendar", "CalDAV"],
+    keywords=["calendar", "addressbook", "CalDAV", "CardDAV"],
     classifiers=[
         "Development Status :: 4 - Beta",
         "Environment :: Console",